Forum Replies Created

Viewing 15 posts - 10,606 through 10,620 (of 18,923 total)

  • RE: Need Some Help Here

    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...

  • RE: Need Some Help Here

    Nothing else (for the command).  For the input/output parameters you can also use numeric datatypes.

  • RE: how do I find the the location of data

    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...

  • RE: Need Some Help Here

    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...

  • RE: how do I find the the location of data

    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..

  • RE: how do I find the the location of data

    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...

  • RE: Column name passed in as a parameter

    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...

  • RE: Need Some Help Here

    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...

  • RE: Views

    Then going in the shows table and set the right code in there.  Then the data will be correct and the view will show the good results.

  • RE: Views

    The description of the show is wrong for a single show.  Or the description is always wrong (for any show)?

  • RE: Column name passed in as a parameter

    How many distinct groups of columns can be selected from this table?

  • RE: Need Some Help Here

    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...

  • RE: Column name passed in as a parameter

    I'd strongly suggest you rethink the design.  This query is supposed to be very simple!!

  • RE: Error trapping fails on INSERT...SELECT

    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...

Viewing 15 posts - 10,606 through 10,620 (of 18,923 total)