Forum Replies Created

Viewing 15 posts - 301 through 315 (of 433 total)

  • RE: OLE To Teradata

    The error code 0x80040154 is for "Class Not Registered". I'm wondering if your connection values are correct?

    There is a section on this site: http://weblogs.sqlteam.com/phils/ about...

  • RE: Apply scripts to UAT server

    You could use EM to generate a single T-SQL script. Right-click on the database name > All Tasks > Generate Sql Script. Click on the show all button and you...

  • RE: resolving blocking automatically

    Hi,

    It's possible to monitor the current activity by either capturing the results of sp_who2 or querying the sysprocesses and syslocks/syslockinfo tables.

    I would be careful about automatically killing processes.

  • RE: Create DTS and output to a SAS data format

    Hi,

    I've never used SAS but can you set up a System DSN pointing to the SAS source on your Sql Server machine? If so you should be able to use...

  • RE: Executing a DTS inside a store proc

    Hi,

    You can execute the DTSRUN utility using master.dbo.xp_cmdshell passing the variables in to defined GlobalVariables.

     

    DECLARE

    @var1 INT

    DECLARE @var2 VARCHAR

  • RE: Create Rule or Constraint

    Hi,

    I don't think it's possible to create constraints on Image columns. You also can't reference them in the inserted/deleted tables of triggers.

    There is a workaround that involves a trigger. You...

  • RE: OLE To Teradata

    I can't see the screenshot, can you type the Error message please?

  • RE: SELECT query question

    David,

    Definitely more elegant than mine!! Should've seen that. I went through all sorts of JOIN routes and everything.

  • RE: SELECT query question

    I don't know whether I'd call it elegant but this works:

    DECLARE @invoices TABLE (AccountNumber INT, InvoiceNumber INT, InvoiceDate DATETIME, RowID INT)

    INSERT INTO...

  • RE: Enumerate Packages.

    Have you got the MSDN link please? I think it'll be quite interesting to see what they're doing.

    Thanks!

  • RE: Enumerate Packages.

    You can get a list of the local packages by querying tables within the MSDB database.

    SELECT * FROM msdb.dbo.sysdtspackages

    There are other tables in the MSDB database to do with DTS information also:

    sysdtscategories

    sysdtspackagelog

    sysdtssteplog

    sysdtstasklog

    Is...

  • RE: Generate script for data

    That's probably a lot better than I would have done.

    And quicker too!

  • RE: Generate script for data

    Okay, understood. I'll get back to you!

  • RE: Generate script for data

    With that, I'm not sure DTS is the best way to go...

    Can I just check with you to make sure that I understand...

  • RE: Generate script for data

    You could use the DTS Import/Export Wizard in Enterprise Manager to copy table data. Right-click on the tablename in the list in EM and choose All Tasks > Export Data....

Viewing 15 posts - 301 through 315 (of 433 total)