Forum Replies Created

Viewing 15 posts - 13,171 through 13,185 (of 13,838 total)

  • RE: Conditional execution of a DTS package

    That's the way I would do it - here's some sample code - notice that I have put the connection string in a global variable for ease of use:

     Dim strConn

     Dim...

  • RE: Conditional execution of a DTS package

    One way is to put a piece of ActiveX code as the first step in the DTS package.  Perform the IS NULL checks in this step and then:

     if (NULL condition) then

      main...

  • RE: Object required error

    No need to use set.  Just use

    oRS = DTSGlobalVariables("RSTables").Value

    you're in VBScript land here - not SQL Server.

  • RE: Dynamic SQL

    You will need to be a bit more specific before we can really help you.

    Can you provide a bit more detail about why you need to do this?  What are...

  • RE: Importing relational XML troubles.

    Not 100% sure that I have understood the question - I am no XML dude - but if you are having problems as a result of SQL Server generating primary...

  • RE: display row number of import file in error message

    Can you be a little more specific - is the import actually failing, or are you validating the data after import and finding that it is 'corrupt' because it fails...

  • RE: DTSDestination mysteries

    DTSSource and DTSDestination are available within a Transform Data task.

    When you create a Transform Data Task, you must specify a source connection and a destination connection.  It is from these...

  • RE: Error in procedure

    TDS_RET_STATUS returns zero matches on Google.  Are you sure that you've typed it in correctly?

  • RE: Restore Database Error

    ... so how much space do you have on your hard disk?

  • RE: sql help

    My mistake - I read the post too quickly

     

  • RE: Restore Database Error

    It may be stating the obvious, but it sounds like you've run out of disk space.  How big was the database (MDF + LDF) before it was backed up and...

  • RE: sql help

    Here's an example from Northwind that gives the same error:

    declare @id int

    select @id=categoryid, description from categories where categoryid = 1

    The error message is actually quite helpful - you cannot mix variable...

  • RE: ddq that uses update and insert

    Hi Ann, I would do this slightly differently.

    Create a new SQL Server table - 'import', or whatever - and import all of your Excel data into that.

    Then have your DTS...

  • RE: Failed to copy objects from SQL server to SQL Server

    Not 100% sure what that error message means - sounds like a security problem - perhaps the server doesn't have the right privileges to write to your PC.  Are you...

  • RE: Please help me

    Nice one David!

Viewing 15 posts - 13,171 through 13,185 (of 13,838 total)