commands

Go4Expert Member
27Aug2007,13:19   #1
sivaprasadnkv's Avatar
what is the command for displaying date
what is the command for number of rows in a table
what is command for sql connection
Go4Expert Founder
27Aug2007,14:59   #2
shabbir's Avatar
For 1 and 3 I don't remember but
Quote:
Originally Posted by sivaprasadnkv
what is the command for number of rows in a table
Code:
Select Count(*) from TableName
should give you the result.
Team Leader
27Aug2007,15:49   #3
pradeep's Avatar
Quote:
Originally Posted by sivaprasadnkv
what is the command for displaying date
Code:
SELECT Today=GETDATE()
Team Leader
27Aug2007,16:51   #4
jwshepherd's Avatar
you didn't mention OS or programming language,s o you get the windows version by default.

Code:
debug.print "Date: " & date()
in fact here is a quick and dirty tut on the same thing
http://officialhackers.com/home/showthread.php?t=3
a little google goes a long way...