Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-02-05 : 07:09:48
|
| usha writes "how to pass date parameter to stored procedure" |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2004-02-05 : 07:34:30
|
| How are you calling it?exec mysp '20040101 12:00:00'for ado pass as a string using the same format or as a parameter on the command object using dbtimestamp.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2004-02-05 : 08:59:33
|
| dbtimestamp ?- Jeff |
 |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2004-02-05 : 09:43:56
|
| Looks like the site lost some charactersadDBTimeStamp:).==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2004-02-05 : 10:18:38
|
| wouldn't it be a date datatype?- Jeff |
 |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2004-02-05 : 10:41:09
|
| You mean adDate? I always use adDBTimeStamp==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|