Viewing 15 posts - 5,851 through 5,865 (of 15,381 total)
What a truly bizarre result set you need. You have to return the data in three different types of ways?
Can you post some ddl and sample data? I think you...
January 27, 2014 at 10:24 am
sneumersky (1/27/2014)
Does this query assume the latest identity value is the greatest?
No the query that Lynn posted has nothing to do with when the value was created. It is...
January 27, 2014 at 9:42 am
rot-717018 (1/27/2014)
Searched and found!
Glad you were able to figure it out. It is customary around here to post your solution so that other stumbling across this thread in the future...
January 27, 2014 at 9:26 am
jasona.work (1/27/2014)
January 27, 2014 at 8:53 am
Matt J (1/27/2014)
Apologies for the lack of detail, getting what I'm trying to achieve into words is always a struggle.
It's occupied bed data that's downloaded, it has a start...
January 27, 2014 at 8:36 am
Since you are brand new around here you probably don't know that we like to see ddl and sample data in a consumable format. Something like this.
if OBJECT_ID('tempdb..#People') is not...
January 27, 2014 at 8:34 am
krunoslav-zibreg (1/27/2014)
Solution for your problem may be something like that:
PIVOT will work but I find that cross tabs are easier to read and understand. They also have the benefit of...
January 27, 2014 at 8:15 am
Matt J (1/27/2014)
On a monthly basis we're downloading a dataset from one of our systems and then processing it so that a record is created for each date between the...
January 27, 2014 at 7:58 am
Hi and welcome to the forums. What you are describing is known as a cross tab or pivot. There are 2 articles referenced in my signature that explain how to...
January 27, 2014 at 7:56 am
--EDIT--
It is Monday morning and I misread this post entirely. Need more coffee.
January 27, 2014 at 7:44 am
Not really sure why you want to take nicely normalized information and smash it all together but this is actually fairly easy to do. Please see this article that explains...
January 27, 2014 at 7:26 am
rani_sals (1/25/2014)
Well now to call this SP for UI, I use this below code.. but what do I have to pass as the tvp object parameter, to enter the...
January 25, 2014 at 7:52 am
rani_sals (1/24/2014)
That is pretty close. Remember that your user defined...
January 24, 2014 at 1:50 pm
rani_sals (1/24/2014)
Can I know how to use TVP in my stored procedure?
You can read about them here. http://technet.microsoft.com/en-us/library/bb510489.aspx
The basis gist of it is that you first create the type, then...
January 24, 2014 at 12:19 pm
Viewing 15 posts - 5,851 through 5,865 (of 15,381 total)