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 |
|
SamC
White Water Yakist
3467 Posts |
Posted - 2002-11-28 : 12:06:46
|
| I've spun up a new DB and WEB, using my standard templates.I'm getting an error:SQL:EXEC dbo.AD_HistogramLastLoginErr Number: 13Error:Type mismatchEXEC dbo.AD_HistogramLastLoginSort of strange in that some Stored procedures are working, several procedures return this type mismatch.The query is executed usingSET rs=dataconn.execute(strSQL)not new code. The query executes perfectly from QA.Any suggestions appreciated.Sam |
|
|
M.E.
Aged Yak Warrior
539 Posts |
Posted - 2002-11-28 : 13:17:39
|
| Use response.write (strSQL) Check to see if the code your sending to SQL is what you think it should look like.-----------------------SQL isn't just a hobby, It's an addiction |
 |
|
|
SamC
White Water Yakist
3467 Posts |
Posted - 2002-11-28 : 13:41:10
|
| Been there, done that. I write the sql string out if errors occur.Sam |
 |
|
|
SamC
White Water Yakist
3467 Posts |
Posted - 2002-11-28 : 15:29:37
|
| Found the problem.The include file that provided the module to "check for errors"wasn't present.Misleading error message.Sam |
 |
|
|
|
|
|