Viewing 11 posts - 1 through 11 (of 11 total)
Hi..
Thanks for thea bit of useful tip.
I modified the query like this and the rows getting divided into 5 perfectly...
SELECT
[SequenceNumber]
,[SampleColumn] = 'Sample' + CONVERT(VARCHAR(10),(([SequenceNumber] /...
October 8, 2011 at 4:56 am
NTILE just divides the dataset into the given number in NTILE(int) accordingly. But i want to divide the dataset (whatever lines there may be) to 5 - 5 rows..
October 4, 2011 at 4:07 am
Hey, it returned duplicate values. distinct did not work. so I wrote like this :
WITH mytable
AS (SELECT DISTINCT CONVERT(VARCHAR(6), DATE, 112) AS MONTH
...
May 17, 2011 at 2:43 am
Thanks both of you for youe response....
VbCRLF worked for me.:-)
August 4, 2010 at 8:52 pm
Hi guys..
Thanks for the responses.
I have dealt it with Unpivot-ing the table. I converted all the required fields into one column and the corresponding values to another column. And...
July 28, 2010 at 3:30 am
Yeah..am using SSRS
Exactly what u had assumed/ understood.
I want to build a report that shows a table of user selected columns from a list of available columns..
How do you do...
July 24, 2010 at 1:56 am
Thanks for the efforts..
I have fixed it up by using unpivot.. Thanks lutz for the spark.
July 24, 2010 at 1:40 am
Hi LutZ
Thanks for the response.
I had created the table manually in access. I have jus ported the replica of the access table in SQL server.
The table looks something like this.
Area...
July 22, 2010 at 2:50 am
Hi..
Thanks for the response.
But then i had already mentioned that i want to find the fields and not values in the fields.
select * from mytable
where myfield in (@parameter)...
July 20, 2010 at 3:58 am
Viewing 11 posts - 1 through 11 (of 11 total)