|
|
Browse by Tags
All Tags » SQL » Date » PL-SQL
-
In addition to the T-SQL calendar table, which I have posted seperately, I went the whole hog and figured out the equivalent for Oracle. The only value I couldn't work out was the millisecond, which is not present on the standard date type in Oracle, but which can be retrieved and I am looking into this when I have time. This query uses the ...
-
As part of my current role as a tester I am often required to write the same basic expressions again and again in my queries, most noticeably to bring back data for specific date ranges, therefore for the benefit of anyone else out there who has to do likewise I have detailed below my method for returning the following basic ranges:
Daily; Week ...
-
I regularly need to pass variables into my queries, and when running multiple tests, it helps to have a way to change these variables easily, preferably, without having to go through the query each time and change the sql. Fortunately for me TOAD (Tool for Oracle Application Developers) for Oracle offers a way to do this with bound variables. ...
|
|
|