Viewing 11 posts - 241 through 251 (of 251 total)
Sorry for not trying the sp_executesql with a temp teable before posting. I have used it with other scalar variable types, and made a dumb assumption that it would work...
December 23, 2002 at 8:31 am
You could declare the table variable inside the dynamic sql and use it as an output variable from a call to sp_executesql, and pass in your locally declared table variable.
Tim...
December 19, 2002 at 9:16 am
This is probably not exactly what you wanted, but why not make the email a computed column? It looks like that is what you are trying to do except with...
December 19, 2002 at 9:09 am
You can accomplish what you want to do with some careful short circuiting in your where clause, and using grouping. EX:
SELECT * FROM TABLE
WHERE (@fldProoferLogID IS NOT NULL...
December 19, 2002 at 9:00 am
Brian take a look at this article. I was having problems until I did this :
http://support.microsoft.com/default.aspx?scid=KB;en-us;270061&
Tim C.
//Will write code for food
December 12, 2002 at 8:35 am
There are several benefits to my solution that I posted earlier :
1) COM+ Transactions
2) Asynchronous - allows execution to return back to the calling stored proc IMMEDIATELY when queued
3)...
December 2, 2002 at 11:26 am
I do something similar to what you are attempting to do. I am using "Loosely Coupled Events" in COM+ with MSMQ Queued Components. This allows me to call a VB...
December 2, 2002 at 8:46 am
Also take a look at:
How to Write CGI Applications in Visual Basic
http://support.microsoft.com/default.aspx?scid=KB;en-us;239588&
Tim C.
//Will write code for food
December 2, 2002 at 8:31 am
Is there any way at all that anyone knows how to do this? Myabe a TRACEON? a configuration option? etc....
Tim C.
//Will write code for food
November 22, 2002 at 9:00 am
The actual method for the CDOSys object to attach a file is AddAttachment. As in :
EXEC @hr = sp_OAMethod @iMsg, 'AddAttachment', 'http://someuri/picture.gif'
OR
EXEC @hr = sp_OAMethod @iMsg, 'AddAttachment', 'C:\file.txt'
Hope that...
November 7, 2002 at 8:35 am
I think the problem is a matter of precision. From the SQL BOL :
"datetime
Date and time data from January 1, 1753 through December 31, 9999, to an accuracy of one...
November 7, 2002 at 8:05 am
Viewing 11 posts - 241 through 251 (of 251 total)