Forum Replies Created

Viewing 15 posts - 346 through 360 (of 381 total)

  • RE: DTS and FK Constraints - multiple tables

    I have put a Run SQL task that first drops an index, then a second Run SQL task that creates that index.  The first task runs before the transformation and...

  • RE: HELP - DTS WITH SECURED DATA SOURCE:

    I had some theories as to what might have happened.  What did you do to fix it?

    Russel Loski, MCSD

  • RE: Text in Access is nvarchar in SQL!??!??

    Actually what I mean by x < 5 is that if the varchar is less than 5 I convert to char.  My rationale for that is that a varchar takes...

  • RE: Import NTEXT fields to SQL from Remedy ODBC 4.5 using DTS

    I have never seen this problem.  Here are a couple thoughts.

    Try changing the SQL field from ntext to text.  ntext is for Unicode data and text is for ANSI data.

    Another...

  • RE: one value from a dynamic sql

    http://support.microsoft.com/default.aspx?scid=KB;EN-US;q262499

    At the bottom is one of their code samples, that I think is most helpful.

    Russel Loski, MCSD

    DECLARE @SQLString NVARCHAR(500)

    DECLARE @ParmDefinition NVARCHAR(500)

    DECLARE @IntVariable INT

    DECLARE @Lastlname varchar(30)

    SET @SQLString = N'SELECT @LastlnameOUT = max(lname)

                      ...

  • RE: How to use --> EXIST/Not Exist

    Here is one thing to consider:  check the ANSI_NULLS settings for the database.

    This setting is described in Database Options in books online.

    Russel Loski, MCSD

  • RE: Text in Access is nvarchar in SQL!??!??

    My ritual when moving Access tables to SQL Server is to first run the import wizard in SQL Server.  Then using Enterprise Manager I write the SQL for the tables. ...

  • RE: Why does query run so long?

    What are you trying to do with this query?

     

    Russ

  • RE: Why does query run so long?

    Try outer join syntax?

     

    SELECT distinct tr.Prcs_dte

    FROM tbl_Tracking tr left outer join Acct_Stats asts

    on tr. prcs_dte = asts. prcs_dte

    where asts. prcs_dte is null

     

    This may work faster.

    Russel Loski, MCSD

  • RE: Two field DISTINCT combination

    I'm not sure I understand what you are trying to do.  The query you have will return a list of unique [page] for all of the records since by definition...

  • RE: No errors and no data either

    There is one piece that is not in the exception log file (I think that is what you are talking about):

    The column sysdtssteplog.progresscount contains the number of records that were...

  • RE: loading dts package through command line

    Is your backend script different from VBScript?

    There is some scripting tool that will allow you to run visual basic script from a command line.  You could also run this as...

  • RE: loading dts package through command line

    I have done this using VB code.  I created this code in Access VBA after setting a reference to Microsoft DTS Package.

    Dim pkg As DTS.Package2

    Set pkg = New DTS.Package2

    pkg.LoadFromStorageFile "

  • RE: XML parsing error:

    I think that this was longer than 4000 characters.  I changed the type to

    DECLARE @l_XMLDoc_Nva  VARCHAR(4000)

    The errror suggested that the last element closers were begin cut off.

    I changed it to

    DECLARE...

  • RE: No errors and no data either

    You can log the package application.  I believe that it will record the number of records affected.

    The Log the package option is set by FIRST DON"T HAVE ANY OBJECT SELECTED...

Viewing 15 posts - 346 through 360 (of 381 total)