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

Database

 
GeneralStored procedure table parameter Pin
adilson05uk12-Jun-05 23:25
adilson05uk12-Jun-05 23:25 
GeneralRe: Stored procedure table parameter Pin
Christian Graus13-Jun-05 14:07
protectorChristian Graus13-Jun-05 14:07 
GeneralRe: Stored procedure table parameter Pin
adilson05uk13-Jun-05 22:47
adilson05uk13-Jun-05 22:47 
GeneralRe: Stored procedure table parameter Pin
Christian Graus14-Jun-05 13:46
protectorChristian Graus14-Jun-05 13:46 
GeneralFind TABLE NAME PARAMETER PARAMETR VALUE WHEN STORED PROCEDURE CALL WITHIN APPLICATION Pin
leopawan12-Jun-05 19:27
leopawan12-Jun-05 19:27 
GeneralRe: Find TABLE NAME PARAMETER PARAMETR VALUE WHEN STORED PROCEDURE CALL WITHIN APPLICATION Pin
Colin Angus Mackay12-Jun-05 23:02
Colin Angus Mackay12-Jun-05 23:02 
GeneralRelationship in Database Diagram Pin
summer100612-Jun-05 19:04
summer100612-Jun-05 19:04 
GeneralTranspose 1 row into multiple rows in an MS SQL database table Pin
phokojoe12-Jun-05 3:42
phokojoe12-Jun-05 3:42 
Hi all!

Please help. I have a table in MS SQL database say persons with information of persons stored in one row, now I want the information of all the persons in different row:

p1_dob P1_age P1_sex p2_dob P2_age P2_sex p3_dob P3_age P3_sex
2000 05 M 1974 31 F 2001 04 M

to be:

p dob age sex
1 2000 05 M
2 1974 31 F
3 2001 04 M

______________
Please write me an sql stored procedure to transpose that kind of data.

Thank you.

phokojoe
GeneralRe: Transpose 1 row into multiple rows in an MS SQL database table Pin
Colin Angus Mackay12-Jun-05 6:35
Colin Angus Mackay12-Jun-05 6:35 
GeneralRe: Transpose 1 row into multiple rows in an MS SQL database table Pin
phokojoe14-Jun-05 0:58
phokojoe14-Jun-05 0:58 
GeneralRe: Transpose 1 row into multiple rows in an MS SQL database table Pin
Colin Angus Mackay14-Jun-05 1:40
Colin Angus Mackay14-Jun-05 1:40 
GeneralTranspose 1 row into multiple rows in an MS SQL database table Pin
phokojoe12-Jun-05 3:42
phokojoe12-Jun-05 3:42 
GeneralGetting suicidle Pin
gharryh12-Jun-05 2:25
gharryh12-Jun-05 2:25 
GeneralRe: Getting suicidle Pin
Christian Graus13-Jun-05 14:08
protectorChristian Graus13-Jun-05 14:08 
GeneralNewbie cant get coonected to mssql Pin
gharryh12-Jun-05 1:52
gharryh12-Jun-05 1:52 
GeneralRe: Newbie cant get coonected to mssql Pin
NeverHeardOfMe12-Jun-05 13:27
NeverHeardOfMe12-Jun-05 13:27 
GeneralRe: Newbie cant get coonected to mssql Pin
gharryh18-Jun-05 0:05
gharryh18-Jun-05 0:05 
GeneralUnicode help!!! Pin
Blue_Skye11-Jun-05 9:02
Blue_Skye11-Jun-05 9:02 
GeneralRe: Unicode help!!! Pin
Colin Angus Mackay11-Jun-05 12:29
Colin Angus Mackay11-Jun-05 12:29 
GeneralRe: Unicode help!!! Pin
Blue_Skye12-Jun-05 23:10
Blue_Skye12-Jun-05 23:10 
GeneralRe: Unicode help!!! Pin
Atul Thakor13-Jun-05 22:57
sussAtul Thakor13-Jun-05 22:57 
GeneralADO Recordset open problem in Windows 98 Pin
rajas11-Jun-05 7:11
rajas11-Jun-05 7:11 
GeneralSql Index/key Pin
webhay10-Jun-05 23:18
webhay10-Jun-05 23:18 
GeneralRe: Sql Index/key Pin
Atul Thakor13-Jun-05 22:58
sussAtul Thakor13-Jun-05 22:58 
GeneralSQL Messages. Pin
HahnTech10-Jun-05 12:28
HahnTech10-Jun-05 12:28 

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.