Click here to Skip to main content
15,899,679 members
Home / Discussions / Database
   

Database

 
AnswerRe: User Defined Function - Condition based tabel return ??? Pin
Ravi Sant7-Feb-11 3:05
Ravi Sant7-Feb-11 3:05 
AnswerRe: User Defined Function - Condition based tabel return ??? Pin
Mycroft Holmes7-Feb-11 12:26
professionalMycroft Holmes7-Feb-11 12:26 
QuestionAccess 2007 , VBA , recordset, adding New field [modified] Pin
scorp_scorp6-Feb-11 19:33
scorp_scorp6-Feb-11 19:33 
AnswerRe: Access 2007 , VBA , recordset, adding New field Pin
Eddy Vluggen7-Feb-11 7:24
professionalEddy Vluggen7-Feb-11 7:24 
QuestionRe: Access 2007 , VBA , recordset, adding New field [modified] Pin
scorp_scorp7-Feb-11 17:25
scorp_scorp7-Feb-11 17:25 
AnswerRe: Access 2007 , VBA , recordset, adding New field Pin
Eddy Vluggen8-Feb-11 7:17
professionalEddy Vluggen8-Feb-11 7:17 
AnswerRe: Access 2007 , VBA , recordset, adding New field Pin
scorp_scorp8-Feb-11 16:51
scorp_scorp8-Feb-11 16:51 
Questionpivoting more than one column in sql server Pin
chencoh6-Feb-11 9:24
chencoh6-Feb-11 9:24 
hi everyone,
i have sql server db with a table which contains a field for a workplace and the number of people employed in a specific month and year separated by gender.
it kinda looks like :

workplace month year male female
Microsoft feb 2011 5 1
Google feb 2011 6 2
Intel feb 2011 7 3
Microsoft march 2011 8 4

obviously with different actual data.
is there a way to concatenate the year and month columns and pivoting the data so it'll look something like :

workplace date male female date male female
Microsoft feb 2011 5 1 march 2011 8 4
Google feb 2011 6 2
Intel feb 2011 7 3


sorry if that was a bit too much, I'll be happy to explain myself more clearly if needed.
AnswerRe: pivoting more than one column in sql server Pin
dan!sh 6-Feb-11 10:14
professional dan!sh 6-Feb-11 10:14 
AnswerRe: pivoting more than one column in sql server Pin
Mycroft Holmes6-Feb-11 12:02
professionalMycroft Holmes6-Feb-11 12:02 
GeneralRe: pivoting more than one column in sql server Pin
Jörgen Andersson6-Feb-11 22:13
professionalJörgen Andersson6-Feb-11 22:13 
GeneralRe: pivoting more than one column in sql server Pin
chencoh11-Feb-11 6:43
chencoh11-Feb-11 6:43 
GeneralRe: pivoting more than one column in sql server Pin
Mycroft Holmes11-Feb-11 12:06
professionalMycroft Holmes11-Feb-11 12:06 
QuestionSQL Server Update New Column Pin
Member 46502875-Feb-11 6:43
Member 46502875-Feb-11 6:43 
AnswerRe: SQL Server Update New Column Pin
R. Giskard Reventlov5-Feb-11 7:27
R. Giskard Reventlov5-Feb-11 7:27 
QuestionBest Security For Small Database Pin
JessStuart3-Feb-11 16:22
JessStuart3-Feb-11 16:22 
AnswerRe: Best Security For Small Database Pin
PIEBALDconsult4-Feb-11 2:04
mvePIEBALDconsult4-Feb-11 2:04 
AnswerRe: Best Security For Small Database Pin
Mycroft Holmes6-Feb-11 13:13
professionalMycroft Holmes6-Feb-11 13:13 
AnswerRe: Best Security For Small Database Pin
_Maxxx_8-Feb-11 16:44
professional_Maxxx_8-Feb-11 16:44 
Questionupdate table Pin
Elham M2-Feb-11 5:25
Elham M2-Feb-11 5:25 
AnswerRe: update table Pin
David Mujica2-Feb-11 5:42
David Mujica2-Feb-11 5:42 
QuestionRe: update table Pin
Elham M3-Feb-11 3:41
Elham M3-Feb-11 3:41 
AnswerRe: update table Pin
David Mujica3-Feb-11 5:51
David Mujica3-Feb-11 5:51 
GeneralRe: update table Pin
Elham M4-Feb-11 2:42
Elham M4-Feb-11 2:42 
Questionhow to email a ssrs report Pin
vinu.11111-Feb-11 1:58
vinu.11111-Feb-11 1:58 

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.