Forum Replies Created

Viewing 15 posts - 6,211 through 6,225 (of 13,874 total)

  • RE: Get all the SSIS packages under Integration services catalog t sql

    SQL-DBA-01 (12/12/2016)


    Hi Experts,

    If I need to list out all the SSIS packages under the Integration services catalog folder how to get the details by writing simple T SQL and...

  • RE: SSDT 2015 Regularly Crashing on Startup

    Tim Mitchell (12/9/2016)


    I've noticed the same thing on multiple machines, and I've heard similar complaints from others. I haven't yet found a fix.

    Thanks, Tim. It's reassuring to know that I...

  • RE: Variable needed for dynamic ff destination not being retrieved from sql

    alicesql (12/9/2016)


    I have an SSIS package that has an Execute SQL task to

    SELECT SUBSTRING(MAX([InvoiceDate]),1,2) as Monthsql

    FROM BJmm (Table has a string date field per recipient requirement)

    The Sql Source...

  • RE: Delete ... Output INTO OpenRowset() ?

    alex.sqldba (12/9/2016)


    Aye. Well, ive been experimenting.

    If I set the Transaction Option to 'required' rather than supported, I get an error about being unable to start a distributed transaction.

    Edit: This is...

  • RE: Delete ... Output INTO OpenRowset() ?

    alex.sqldba (12/9/2016)


    I've double confirmed that is the case using oledb provider as well as ado.net.

    It's annoying!

    I had always assumed that the whole thing was a single implicit transaction. I'm not...

  • RE: Delete ... Output INTO OpenRowset() ?

    alex.sqldba (12/9/2016)


    Hiya, thanks! I like this approach of using the delete/output as an SSIS Source.

    However.

    I am using the ADO.NET provider. And it's working fine, except in one particular occurrence: Should...

  • RE: Delete ... Output INTO OpenRowset() ?

    alex.sqldba (12/8/2016)


    Evening All,

    I have an archive routine that runs every night, it inserts some rows and then performs a delete. Basic stuff.

    I have had to move the archive database to...

  • RE: BATCHWISE Update

    You need to make the updates conditional. Add something like

    WHERE a.load_id <> q.load_id or a.load_id is null

    to both queries.

  • RE: Schema

    ... we need the queries to run like this:

    You still haven't explained why.

  • RE: Error with parameters in OLEDB Source "execute with results"

    Lowell, that's a neat trick!

    Next step would be some refinement to return the actual SQL needed, ready for cut & paste. This sort of thing (borrowing your code):

    IF OBJECT_ID('tempdb..#temp', 'U')...

  • RE: Disk space full

    sanjaydut26 (12/8/2016)


    Thanks John, but no such files. 🙂

    Thanks

    Sanjay

    I think you are out of luck. There is no magic 'reduce the size of files without shrinking them' command.

  • RE: SQL comma separated values and a loop

    First thing I'd suggest is removing this line:

    INNER JOIN dbo.Drops D ON J.JobID = D.JOBID

    As it is no...

  • RE: Schema

    padmakumark26 (12/8/2016)


    With user which have default schema we can access object without specifying schema name right ?

    Like select * from table .

    But i cannot access like that it is...

  • RE: Schema

    padmakumark26 (12/8/2016)


    I created a user (User1) and Schema (shema1). Made schema1 as defult user schema.

    Now i cannot access table name without schema1.table name. Select * from table don't work

    I...

  • RE: Send an E-mail from SQL Server without SMTP

    Maybe you can use an external SMTP provider. Have a look here[/url].

Viewing 15 posts - 6,211 through 6,225 (of 13,874 total)