Click here to Skip to main content
15,887,676 members
Home / Discussions / Database
   

Database

 
AnswerRe: Using database Pin
Simon_Whale22-Nov-11 23:49
Simon_Whale22-Nov-11 23:49 
AnswerRe: Using database Pin
Satheesh154623-Nov-11 6:08
Satheesh154623-Nov-11 6:08 
GeneralRe: Using database Pin
Peter_in_278023-Nov-11 13:10
professionalPeter_in_278023-Nov-11 13:10 
Questioncharacter found after end of sql statement Pin
chandru7021-Nov-11 23:36
chandru7021-Nov-11 23:36 
AnswerRe: character found after end of sql statement PinPopular
Jörgen Andersson21-Nov-11 23:49
professionalJörgen Andersson21-Nov-11 23:49 
GeneralRe: character found after end of sql statement Pin
chandru7022-Nov-11 16:52
chandru7022-Nov-11 16:52 
QuestionHow to add Dynamic Colunms in a report Pin
Bonginkoci21-Nov-11 23:21
Bonginkoci21-Nov-11 23:21 
AnswerRe: How to add Dynamic Colunms in a report Pin
SilimSayo22-Nov-11 6:16
SilimSayo22-Nov-11 6:16 
I don't think you need dynamic columns. From your descriptions, the columns are fixed i.e. they are SalesCountry, CurrentMonthSales, and PriorMonthsSales. What you need is a dynamic report i.e. data is provided to the report depending on some input criteria. Assuming you are using SQL Server as the database, you need to create a stored procedure that takes a parameter for the current period, then it returns data to your report using those 3 columns. So, the data is dynamic but the columns are fixed.
Since you don't specify what report engine or database you're using, I can't be more specific.

modified 23-Nov-11 17:00pm.

Questioncan a trigger have parameters Pin
yousefshokati21-Nov-11 19:42
yousefshokati21-Nov-11 19:42 
AnswerRe: can a trigger have parameters? Pin
Shameel21-Nov-11 22:51
professionalShameel21-Nov-11 22:51 
AnswerRe: can a trigger have parameters Pin
Corporal Agarn22-Nov-11 3:01
professionalCorporal Agarn22-Nov-11 3:01 
GeneralRe: can a trigger have parameters Pin
yousefshokati22-Nov-11 19:33
yousefshokati22-Nov-11 19:33 
GeneralRe: can a trigger have parameters Pin
SilimSayo23-Nov-11 10:59
SilimSayo23-Nov-11 10:59 
GeneralRe: can a trigger have parameters Pin
yousefshokati23-Nov-11 19:56
yousefshokati23-Nov-11 19:56 
GeneralRe: can a trigger have parameters Pin
Chris Meech24-Nov-11 5:05
Chris Meech24-Nov-11 5:05 
GeneralRe: can a trigger have parameters Pin
SilimSayo24-Nov-11 6:18
SilimSayo24-Nov-11 6:18 
GeneralRe: can a trigger have parameters Pin
Chris Meech24-Nov-11 6:29
Chris Meech24-Nov-11 6:29 
GeneralRe: can a trigger have parameters Pin
SilimSayo24-Nov-11 10:14
SilimSayo24-Nov-11 10:14 
AnswerRe: can a trigger have parameters Pin
vankireddy satish25-Nov-11 2:36
vankireddy satish25-Nov-11 2:36 
QuestionSQL Connection Error Pin
webpeon8020-Nov-11 13:56
webpeon8020-Nov-11 13:56 
AnswerRe: SQL Connection Error Pin
webpeon8020-Nov-11 14:53
webpeon8020-Nov-11 14:53 
AnswerRe: SQL Connection Error Pin
thatraja23-Nov-11 20:05
professionalthatraja23-Nov-11 20:05 
Questionhow to make self backup to sql-server-2008 ? Pin
Gali197820-Nov-11 7:57
Gali197820-Nov-11 7:57 
AnswerRe: how to make self backup to sql-server-2008 ? Pin
Mycroft Holmes20-Nov-11 12:09
professionalMycroft Holmes20-Nov-11 12:09 
AnswerRe: how to make self backup to sql-server-2008 ? Pin
Corporal Agarn21-Nov-11 9:23
professionalCorporal Agarn21-Nov-11 9:23 

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.