Forum Replies Created

Viewing 15 posts - 5,851 through 5,865 (of 9,726 total)

  • RE: Create SSIS Variable from SQL Select Statement

    John Mitchell-245523 (6/10/2011)


    I think if you look in the Variables window, you'll see the value for the variable the last time the package was loaded.

    That is an incorrect assumption....

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Create SSIS Variable from SQL Select Statement

    Is the variable being manually set by any sort of config file?

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Create SSIS Variable from SQL Select Statement

    Deepak_Vad (6/10/2011)


    Not only this query... even if I try to use...

    SELECT 1

    And if I wanted to pass the value 1 to variable it does not work. So I am...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Create SSIS Variable from SQL Select Statement

    Eh-hem. I think you need to go back and look at your variable scope. The picture you posted does not jive with the comment "I have a package level scope"...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Configure Log shipping and Reporting services server

    Simon,

    If you're having specific issues, please post your question as a new topic on the board with as many details as you can about the problem. We'll be glad to...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Create SSIS Variable from SQL Select Statement

    Deepak,

    Go into SSMS and run your SQL Query against the proper database. Does it actually return a value?

    EDIT: More to the point, does it only return 1 value?

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Variables in SQL Server Integration Services

    yayomayn (6/10/2011)


    Yes in your execute SQL task you must map the result of your SQL variable to a variable in the package.

    In fact I don't know why you would need...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Variables in SQL Server Integration Services

    Ahha. Now I understand the problem.

    In the package white space, right click once and choose Package Variables. It will bring up a new window (at the side or on the...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: linked report

    Manage linked reports how? What do you want to do with them?

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Variables in SQL Server Integration Services

    Mahesh Bote (6/10/2011)


    [font="Verdana"]

    Below is the flow of the SSIS package.

    1 'Execute SQL Task'

    ...

    Declare@UserTypeIDBigInt

    Select@UserTypeID = UserTypeID From dbo.User(NoLock) Where UserType = 'Customer'

    Insert Into <temp Table>

    Select<Columns>

    From<tables>

    WhereUserTypeID = @UserTypeID

    ...

    And in what part...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Using Parameter in SSIS

    sonal_anjaria (6/9/2011)


    created a variable, scope is the relevant sequence container

    mapped the variable in the sql task editor

    Not sure what you mean by the above. You've created a variable and mapped...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: SQL Server Interview Questions And Answers

    tarun.him (6/10/2011)


    Thanks Randheer;

    These questions for sql developer are really helpfull

    Be careful about depending on this blog as a resource. Even just looking at today's blog post makes me cringe due...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Create SSIS Variable from SQL Select Statement

    Post the code you're using to SELECT the variable value.

    Then post the package variable(s) you're using, what their names are, and what level these package variables are created as.

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Please suggest the idea for making reports

    There is no "right" idea. What tool / software are you using for reporting?

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Variables in SQL Server Integration Services

    There's a difference between package variables and the variables declared within an Execute SQL Task. Could you post details on exactly how you set up and populated this variable? It...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

Viewing 15 posts - 5,851 through 5,865 (of 9,726 total)