Click here to Skip to main content
15,889,216 members
Home / Discussions / Database
   

Database

 
GeneralRe: Best Database Configures with c# win. form Pin
agent_kruger15-Feb-14 1:36
professionalagent_kruger15-Feb-14 1:36 
GeneralRe: Best Database Configures with c# win. form Pin
Eddy Vluggen15-Feb-14 23:15
professionalEddy Vluggen15-Feb-14 23:15 
QuestionHow I create new column in sql server? Pin
Chandrakanta.Sen9-Feb-14 3:47
professionalChandrakanta.Sen9-Feb-14 3:47 
GeneralRe: How I create new column in sql server? Pin
Andrius Leonavicius9-Feb-14 7:17
professionalAndrius Leonavicius9-Feb-14 7:17 
AnswerRe: How I create new column in sql server? Pin
Mycroft Holmes9-Feb-14 11:54
professionalMycroft Holmes9-Feb-14 11:54 
AnswerRe: How I create new column in sql server? Pin
Member 1039216111-Feb-14 7:07
Member 1039216111-Feb-14 7:07 
Questionwhat is the use of case statement Pin
Chandrakanta.Sen8-Feb-14 2:14
professionalChandrakanta.Sen8-Feb-14 2:14 
AnswerRe: what is the use of case statement Pin
Peter Leow8-Feb-14 2:48
professionalPeter Leow8-Feb-14 2:48 
Assuming you are using sql server:
SQL
SELECT regn, depot_code, dealer_name, GC, SC, STA, OTH
FROM
(SELECT regn, depot_mstr.depot_code, dealer_name, dealer_category FROM depot_mstr LEFT
JOIN dealer_list ON depot_mstr.depot_code = dealer_list.depot_code
) AS sourcetable
PIVOT
(
COUNT (dealer_category)
FOR dealer_category IN
(GC, SC, STA, OTH)
) AS pivottable

GeneralRe: what is the use of case statement Pin
Chandrakanta.Sen9-Feb-14 3:37
professionalChandrakanta.Sen9-Feb-14 3:37 
GeneralRe: what is the use of case statement Pin
Jubayer Ahmed10-Feb-14 1:03
professionalJubayer Ahmed10-Feb-14 1:03 
QuestionOracle Express Question Pin
Jassim Rahma7-Feb-14 22:19
Jassim Rahma7-Feb-14 22:19 
AnswerRe: Oracle Express Question Pin
Richard MacCutchan7-Feb-14 22:23
mveRichard MacCutchan7-Feb-14 22:23 
GeneralRe: Oracle Express Question Pin
Jassim Rahma7-Feb-14 22:27
Jassim Rahma7-Feb-14 22:27 
GeneralRe: Oracle Express Question Pin
Richard MacCutchan7-Feb-14 22:53
mveRichard MacCutchan7-Feb-14 22:53 
GeneralRe: Oracle Express Question Pin
Jassim Rahma7-Feb-14 22:54
Jassim Rahma7-Feb-14 22:54 
GeneralRe: Oracle Express Question Pin
Jörgen Andersson7-Feb-14 23:05
professionalJörgen Andersson7-Feb-14 23:05 
GeneralRe: Oracle Express Question Pin
Richard MacCutchan7-Feb-14 23:21
mveRichard MacCutchan7-Feb-14 23:21 
GeneralRe: Oracle Express Question Pin
Jörgen Andersson7-Feb-14 23:02
professionalJörgen Andersson7-Feb-14 23:02 
AnswerRe: Oracle Express Question Pin
Bernhard Hiller10-Feb-14 21:41
Bernhard Hiller10-Feb-14 21:41 
QuestionTable Name Pin
Sandeep Singh Shekhawat7-Feb-14 20:25
professionalSandeep Singh Shekhawat7-Feb-14 20:25 
AnswerRe: Table Name Pin
Mycroft Holmes7-Feb-14 20:35
professionalMycroft Holmes7-Feb-14 20:35 
Questionpassing data from one action to another MVC asp.net Pin
Hunain Hafeez7-Feb-14 2:49
Hunain Hafeez7-Feb-14 2:49 
SuggestionRe: passing data from one action to another MVC asp.net Pin
Richard Deeming7-Feb-14 4:07
mveRichard Deeming7-Feb-14 4:07 
Questionsum of time per month Pin
Hunain Hafeez5-Feb-14 21:10
Hunain Hafeez5-Feb-14 21:10 
AnswerRe: sum of time per month Pin
Shameel5-Feb-14 23:25
professionalShameel5-Feb-14 23:25 

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.