Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: chedder123
  • Content: Threads
  • Order by date
  1. chedder123

    Executing a script from .qmal file

    I'm running Linux, Redhat 7.3, and Qmail. I do have procmail installed, however if I don't need to, I don't want to use procmail as it seems just a little more difficult. My question is, how can I setup a mailbox so whenever it receives an email, it runs a perl script? I've read the manuals...
  2. chedder123

    Database Connection Question

    I'm having a problem with the database connection using PostgreSQL. Everytime I open a connection, am I supposed to close it in the Perl CGI script? For example: $dbh = &dbh_connect(); $sql = "SELECT mediaid, folder, view_count FROM media ORDER BY folder;"; $sth =...
  3. chedder123

    Modifying table variables

    Ok... I feel really dumb now. I'm going to buy a book. I believe this is the command, however it's not working. ALTER TABLE leads ALTER created SET timestamptz DEFAULT 'now' NOT NULL ALTER TABLE leads ALTER export_counter SET int4 DEFAULT '0' NOT NULL I already have a populated table and...
  4. chedder123

    nuB: How to add a sequence to an already created table?

    Ok, this is my first jump into SQL/Perl stuff and I'm a little lost. I'm running PostgreSQL and already have a populated table, however I need to have an incrementing variable every time a new row is submitted. I also need a time stamp. My question is, once I already have the table created...

Part and Inventory Search

Back
Top