Viewing 15 posts - 61 through 75 (of 187 total)
Florian Reischl (4/1/2009)
Hi DavidYou 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!
April 1, 2009 at 10:30 am
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...
April 1, 2009 at 10:23 am
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...
February 3, 2009 at 12:47 am
Roy, probably a dumb question but how do I create a group??
February 2, 2009 at 10:46 am
Clive Strong (1/30/2009)
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...
January 31, 2009 at 2:54 am
PaulB (1/30/2009)
If I...
January 30, 2009 at 3:59 am
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
November 26, 2008 at 7:09 am
Michael Earl (11/24/2008)
November 25, 2008 at 1:44 am
Michael Earl (11/24/2008)
November 24, 2008 at 10:55 am
Nuts (11/23/2008)
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...
November 24, 2008 at 12:26 am
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...
November 4, 2008 at 12:35 am
vivets (11/3/2008)
Further, why are you using a cursor? I think you could relatively easy refactor into a funtion, which has far better performance that...
November 3, 2008 at 8:49 am
Garadin (10/18/2008)
October 19, 2008 at 4:38 am
Viewing 15 posts - 61 through 75 (of 187 total)