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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS SQL Date Usage Tutorial 1

Status
Not open for further replies.

bholm

Programmer
Aug 28, 2001
17
US
Does anyone know of a good online source for a summary on how to use dates within MS SQL and Access 97. I'm trying to understand and learn the usage of dates while programming a Cold Fusion template using MS SQL queries to talk to a Access 97 db. MS does things the usual confusing way... Some rules of thumb or online tutorials would be excellent.

Thanks
 
Thanks so much, Terry!
That helps. What makes it particularly tricky for me working with Cold Fusion is that CF specifies variables with # symbols surrounding them. So to have a date variable in an MS SQL query that uses # symbols makes it hard at times.

Bruce
 

IYou don't need to use # in T-SQL. You can delimit dates with single quotes (i.e., 'jan 01 2001'). Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top