Click here to Skip to main content
16,007,277 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Profiler in SQL 2005? Pin
Jon_Boy31-Dec-08 2:42
Jon_Boy31-Dec-08 2:42 
GeneralRe: SQL Profiler in SQL 2005? Pin
Wendelius31-Dec-08 3:20
mentorWendelius31-Dec-08 3:20 
GeneralRe: SQL Profiler in SQL 2005? Pin
devvvy31-Dec-08 15:24
devvvy31-Dec-08 15:24 
GeneralRe: SQL Profiler in SQL 2005? Pin
Wendelius1-Jan-09 2:20
mentorWendelius1-Jan-09 2:20 
QuestionSql Reporting Services Pin
member2730-Dec-08 1:15
member2730-Dec-08 1:15 
AnswerRe: Sql Reporting Services Pin
Wendelius30-Dec-08 4:35
mentorWendelius30-Dec-08 4:35 
GeneralRe: Sql Reporting Services Pin
member2730-Dec-08 18:03
member2730-Dec-08 18:03 
GeneralRe: Sql Reporting Services Pin
Ben Fair5-Jan-09 3:46
Ben Fair5-Jan-09 3:46 
Try this one...

=(RowNumber(Nothing) - (RowNumber(Nothing) Mod 10)) / 10

It should produce a group number for each 10 records; it's basically the same as DivRem, but since DivRem requires a variable by reference to hold the remainder I don't know of a way to use it in SSRS. Anyhow, for records 1 - 10 this should produce 1, 11 - 20, 2, etc. RowNumber(Nothing) Mod 10 gives you the remainder, in this case the number in the ones position (if it's RowNumber 24, it will give you 4) which you then subtract from row number to give you the tens position (24 - 4 = 20) which is then divided by 10 to give the group number (20 / 10 = 2).

Keep It Simple Stupid! (KISS)

GeneralRe: Sql Reporting Services Pin
Ben Fair5-Jan-09 3:50
Ben Fair5-Jan-09 3:50 
GeneralRe: Sql Reporting Services Pin
member278-Jan-09 1:31
member278-Jan-09 1:31 
QuestionNesting Level exceed (limit 32) Pin
ashkan_ertefa28-Dec-08 21:40
ashkan_ertefa28-Dec-08 21:40 
AnswerRe: Nesting Level exceed (limit 32) Pin
Wendelius29-Dec-08 8:05
mentorWendelius29-Dec-08 8:05 
GeneralRe: Nesting Level exceed (limit 32) Pin
Ben Fair30-Dec-08 5:11
Ben Fair30-Dec-08 5:11 
GeneralRe: Nesting Level exceed (limit 32) Pin
Wendelius30-Dec-08 5:26
mentorWendelius30-Dec-08 5:26 
QuestionThere is a problem when connecting SQL SERVER 2000 from Windows Vista Machine. Pin
pubududilena28-Dec-08 21:22
pubududilena28-Dec-08 21:22 
AnswerRe: There is a problem when connecting SQL SERVER 2000 from Windows Vista Machine. Pin
Wendelius29-Dec-08 7:55
mentorWendelius29-Dec-08 7:55 
QuestionConcatenate names from all all the rows to one column Pin
member2728-Dec-08 20:44
member2728-Dec-08 20:44 
AnswerRe: Concatenate names from all all the rows to one column Pin
Wendelius29-Dec-08 7:49
mentorWendelius29-Dec-08 7:49 
GeneralRe: Concatenate names from all all the rows to one column Pin
Mycroft Holmes30-Dec-08 14:19
professionalMycroft Holmes30-Dec-08 14:19 
GeneralRe: Concatenate names from all all the rows to one column Pin
Jon_Boy30-Dec-08 14:21
Jon_Boy30-Dec-08 14:21 
GeneralRe: Concatenate names from all all the rows to one column Pin
Wendelius30-Dec-08 22:15
mentorWendelius30-Dec-08 22:15 
AnswerRe: Concatenate names from all all the rows to one column Pin
Khawar Abbas129-Dec-08 20:11
Khawar Abbas129-Dec-08 20:11 
GeneralRe: Concatenate names from all all the rows to one column Pin
Rob Philpott30-Dec-08 1:15
Rob Philpott30-Dec-08 1:15 
AnswerRe: Concatenate names from all all the rows to one column Pin
Rob Philpott30-Dec-08 1:14
Rob Philpott30-Dec-08 1:14 
GeneralRe: Concatenate names from all all the rows to one column Pin
member2730-Dec-08 1:18
member2730-Dec-08 1:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.