Viewing 15 posts - 10,606 through 10,620 (of 18,923 total)
Mabe this will help :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=285646
December 12, 2006 at 12:59 pm
I'm not sure I'm following here. Don't you want to save the output FROM the exec statement in @StrCnt? AFAIK this takes an output parameter that doesn't seem to be...
December 12, 2006 at 12:27 pm
Nothing else (for the command). For the input/output parameters you can also use numeric datatypes.
December 12, 2006 at 12:02 pm
None that I know off. I already did this in a dts but it was basically the same code as above. This code basically writes all the select statements you...
December 12, 2006 at 11:58 am
search this site for sp_executesql and output parameters. You should find what you need. The one draw back is that you have to use nvarchar which limits you to 4000...
December 12, 2006 at 11:55 am
Please not that this search only for columns which contain text. You'll have to change the first query (systypes table) to allow to search for number columns..
December 12, 2006 at 11:49 am
This is how I do it FROM VB 6.
Private Sub SearchAllTextColumns(ByVal sDbName As String, ByVal sFind As String)
On Error GoTo Gestion:
Dim MyRsCols As ADODB.Recordset
Dim MyRsCount As ADODB.Recordset
Dim...
December 12, 2006 at 11:47 am
And it shouldn't work that way either. I'd strongly suggest you read the 3 articles when you get a few hours of free time. However to solve that particular solution...
December 12, 2006 at 11:43 am
Something's not adding up here. If you can make the print statement execute [without altereations] then it should also work in the EXECUTE().
What do you mean exactly by putting the...
December 12, 2006 at 11:37 am
How many distinct groups of columns can be selected from this table?
December 12, 2006 at 11:25 am
I can't remote debug this from you. But I can tell you how I'd do it :
Replace the EXECUTE (@StrSQL) statement to
PRINT @StrSQL
Then copy / paste the results from the message...
December 12, 2006 at 11:22 am
I'd strongly suggest you rethink the design. This query is supposed to be very simple!!
December 12, 2006 at 11:20 am
The error is too severe to be trapped. As soon as the error is found, the execution is stopped, the error is sent to the caller and that's the end...
December 12, 2006 at 11:17 am
Viewing 15 posts - 10,606 through 10,620 (of 18,923 total)