Forum Replies Created

Viewing 15 posts - 61 through 75 (of 187 total)

  • RE: Get Output After Insert

    Florian Reischl (4/1/2009)


    Hi David

    You have to define the @Id also for OUTPUT when callin':

    declare @ID uniqueidentifier

    exec dbo.Add_Header @ID OUTPUT, 'A','B','C','D','E'

    select @ID as ID

    Greets

    Flo

    Ah! Thank you Flo, much appreciated!

  • RE: Get Output After Insert

    Thanks for the response Flo.

    I now have a different problem with the output value! I am calling the sp using the following:

    declare @ID uniqueidentifier

    exec dbo.Add_Header @ID, 'A','B','C','D','E'

    select @ID as ID

    The...

  • RE: SQL Server Schemas

    Thanks all for your responses.

    So would it be advisable to use a schema as well i.e. create a schema and then associate it to a custom database role? I want...

  • RE: SQL Server Schemas

    Thanks Roy

  • RE: SQL Server Schemas

    Roy, probably a dumb question but how do I create a group??

  • RE: Database Views

    Clive Strong (1/30/2009)


    Hi,

    You are correct. This is an ownership chain issue. You will need to grant select permissions on the objects in the production data.

    Also, with regards to...

  • RE: Database Views

    PaulB (1/30/2009)


    In my understanding you do not have a reporting database. A reporting database means you are taking a snapshot of production to separate "production" from "reporting" workload.

    If I...

  • RE: CTE Question

    Great! Thanks Seth.

  • RE: CTE Question

    Garadin (11/26/2008)


    For the sample data provided, please give your expected results.

    Are they:

    10031832

    100311592

    100311602

    100311612

    800003925051

    10031140012

    10031800003920

    ?

    Hi,

    Yes, that's exactly what I'd like to return.

    Thanks

  • RE: SSRS Report Layout in Report Manager

    Michael Earl (11/24/2008)


    The rendering in BIDS is sometimes a little different. Gaps like you are describing are often just mis-aligned controls. Make sure you don't have something a...

  • RE: SSRS Report Layout in Report Manager

    Michael Earl (11/24/2008)


    The rendering in BIDS is sometimes a little different. Gaps like you are describing are often just mis-aligned controls. Make sure you don't have something a...

  • RE: Using Temperory tables in BI

    Nuts (11/23/2008)


    Hi Guys

    I created a temp table in Management studion and when I try to access this temp table through BI using select * , it gives an error saying...

  • RE: Unable to Create Concatenated String

    Sergiy (11/3/2008)


    select @periodArray = ISNULL(@periodArray + ',', '') + Period

    from @myTable

    select @periodArray

    Much less typing.

    🙂

    Sergiy, amazing! Can you explain how it works though?! In the past I've used ISNULL...

  • RE: Unable to Create Concatenated String

    vivets (11/3/2008)


    Initialize the PeriodArray Variable with blank ('')

    Further, why are you using a cursor? I think you could relatively easy refactor into a funtion, which has far better performance that...

  • RE: Help Needed with TSQL

    Garadin (10/18/2008)


    Agreed, and the Month name being entered into an alternate table to signify that real data should be used adds another unnecessary step. Add your projected data to...

Viewing 15 posts - 61 through 75 (of 187 total)