Viewing 15 posts - 7,126 through 7,140 (of 15,381 total)
You are welcome. I am glad you got it working to suit your needs. I guess at the end of it you went with a static cross tab instead of...
August 14, 2013 at 3:23 pm
Ideally you should leave the formatting to the front end instead of pulling it from sql. If you look at BOL you will find many formats for convert to format...
August 14, 2013 at 2:53 pm
Mark Gorelik (8/14/2013)
I tested your solution on real data and for some reason it does not work . ID incremented for field1 value='H' .The rest script...
August 14, 2013 at 2:52 pm
dwayne.hofstetter (8/14/2013)
August 14, 2013 at 2:48 pm
Excellent. My first thought would be pretty much the query you posted in your original post. However you said you want to return only 1 of them. Which one would...
August 14, 2013 at 2:13 pm
GTJohnson73 (8/14/2013)
Yes. That is exactly what is needed.
I am pretty swamped at the moment. What you need here is called a dynamic cross tab. You might try checking out the...
August 14, 2013 at 1:24 pm
Hi and welcome to the forums. In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form...
August 14, 2013 at 1:20 pm
skb 44459 (8/14/2013)
I want to write a Stored Procedure which will
- Open a...
August 14, 2013 at 12:38 pm
Maybe instead of taking code you found in a 6 year old thread here on ssc and asking us to convert it to t-sql you can tell us what you...
August 14, 2013 at 10:02 am
skb 44459 (8/14/2013)
I want to populate the pdf form using large sql data
OK.
Why do you want to do this in t-sql? It is the wrong tool for the job. A...
August 14, 2013 at 9:54 am
Why do you want to do this in t-sql? It is the wrong tool for the job. A CLR proc, SSIS or even an application would be a much better...
August 14, 2013 at 9:48 am
OK so now if I understand your requirements you are wanting a result set with a dynamic number of columns?
Something like pyEventID, ProviderName1, ProviderNumber1 [repeat Name and Number for however...
August 14, 2013 at 9:26 am
GTJohnson73 (8/13/2013)
August 13, 2013 at 3:28 pm
Jeff Moden (8/13/2013)
Sean Lange (8/13/2013)
August 13, 2013 at 3:17 pm
adonetok (8/13/2013)
I just want to find a way to modify SQL server setting to make job...
August 13, 2013 at 3:11 pm
Viewing 15 posts - 7,126 through 7,140 (of 15,381 total)