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 bkrike 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: NateUNI
  • Content: Threads
  • Order by date
  1. NateUNI

    Problems with Date_Trunc

    When I run the following statement, INSERT INTO public."Bug Status" ("Tracking Number", "Assigned Analyst", status, "Changed By", "Updated Date") VALUES (111111111, 'NS', 'Reported', 'NS', DATE_TRUNC('second', 'current_timestamp')); I recieve the following error: ERROR: function...
  2. NateUNI

    Problems with a Trigger Statement

    I want the following trigger to update a related table when ever a record is inserted/updated. I have the following trigger: CREATE TRIGGER update_status AFTER INSERT OR UPDATE ON public."Bug Status" FOR EACH ROW EXECUTE PROCEDURE public.update_status(); Which Calls this function...
  3. NateUNI

    Pulling Records Based on Date Field

    I have the following query, select * from bugtracking where Format([Reported Date],"mm-dd-yyyy") = #01-04-2004# however it does not pull any records, even though there are records for those dates (ie, 1/4/2004 12:29:30 AM) What am I doing wrong with this query, Thanks!
  4. NateUNI

    Easy Date Question

    Im trying to do a easy query, SELECT BugTracking.[Reported Date] FROM BugTracking WHERE (((BugTracking.[Reported Date]) Like #12/15/2003#)); which returns 0 records, however the Reported Date field in the database is a type date/time so if i do this query: SELECT BugTracking.[Reported Date]...
  5. NateUNI

    SelectLimit with ORDER BY not working with Access Database

    I am working with a Access Database and when I run the following code, it returns all records, instead of just the first 20. <?php //Connection statement require_once('Connections/STATS.php'); // begin Recordset $maxRows_Recordset1 = 20; $pageNum_Recordset1 = 0; if...
  6. NateUNI

    Optimizing a Query (Removing Sub Select)

    I have the following query: SELECT * FROM Prospect WHERE Prospect.ID_NUMBER NOT IN ( SELECT ID_NUMBER FROM Prospect_EMAIL WHERE CAMPAIGNID=50) This query takes a LONG time to run. Is that a better way to write this query. I am using Oracle if that helps, Thanks!!
  7. NateUNI

    Passing variables w/ a link tag

    I have several (40 variables) that need to be passes when the user clicks on a A HREF tag. Is there a easy way to do this besides appending the variables onto the link? Am i missing something here? Thanks!!
  8. NateUNI

    array_multisort problem, not sorting correctly

    I'm running into the following problem when I try to use the array_multisort fuction. I'm trying to sort by date [1], then report name [0]. If I print out the multi-dimensional array before the array_multisort function, I recieve the following: Array ( [0] => Array ( [0] => change [1] =>...
  9. NateUNI

    Random Class always bringing back same number

    I have the following code to generate a random number. However if i leave the txtNumberSeed field the same, and run the method multiple times, it brings back the same random number. Any Help, Thanks!!! public void seedRandomGenerator(){ try{ long seedNumber =...
  10. NateUNI

    Error with Email::Find

    Im running the following statment in perl: perl -MEmail::Find -ne 'Email::Find->new(sub { print shift->address, &quot;\n&quot; })->find(\$_)' test.txt > output.txt And this is the result: Can't find string terminator &quot;'&quot; anywhere before EOF at -e line 1. The test.txt file only has a...
  11. NateUNI

    Replace Formula

    If I have a string like the following: http://www.google.com/Eds/articles.jsp?articleID=54&campaignID=26&edsArticleTitle=Data Security - Better Safe Than Sorry How would i write a replace statment that will replace anything before the article title to be replaced with a blank space. IE. The...
  12. NateUNI

    Moving Messages to New Account

    Is there anyway to move messages from one account to another account without forwarding the message. IE. I want it to look like a new message. Is this possible?? Thanks
  13. NateUNI

    NCAA Basketball Pool

    I was wondering if anyone had written a NCAA Basketball Pool program in php/mysql for free. If so can you please point me in the right direction. Thanks
  14. NateUNI

    Base64 encode to field

    I have a primary key field (esequence). What I want to do is store a base64 encode in a field (basedecode) of the primary key value. Does anyone know the oracle statment to accomplish this, THANKS!
  15. NateUNI

    Database Grid Applet

    Does anyone know of a Database Grid Applet that will display, insert, and delete records from a database. I have looked around to no avail, THANKS!
  16. NateUNI

    Make Text File of all Email Addresses From a Email Accout

    I would like to export all the email addresses that have sent email to one of my groupwise accounts. Is there a easy way to accomplish this? Doesn't really matter what type of file it exports, just would like to have the informaion, THANKS!
  17. NateUNI

    Selecting Certain Records, Should be Easy

    I have the following records (small example), EMAIL SUBMIT_DATE EGROUP ----- ----------- ------ 1@hotmail.com 01/24/2003 01:17:45 BUS-NP 2@hotmail.com 01/24/2003 01:17:45 BUS-NP 3@hotmail.com 01/24/2003 01:17:45 BUS-NP 4@hotmail.com 01/24/2003...
  18. NateUNI

    Migrating from PHP 3 to 4

    I have looked around for documentation of migrating php 3 to 4 of a IIS server ( I know IIS SUCKS :) ) Does anyone have any documentation on this. I checked out php.net, but was not really able to find out the sequence of events to the upgrade. Do i just download 4 and do a clean install...
  19. NateUNI

    If I have the following sql stateme

    If I have the following sql statement, but my array index only goes up to 14, how do i check if index 15 is an Uninitialized array index. This is what I have so far, but still gives me the same error: for($n = 0;$n < 17; $n++){ if($newArray[$n] == &quot;&quot;){ $newArray[$n] = 0; }...
  20. NateUNI

    String Question, Should be REALLY easy

    I have the following code...

Part and Inventory Search

Back
Top