Click here to Skip to main content
15,891,597 members
Home / Discussions / Database
   

Database

 
QuestionDatabase design question Pin
Mohammad A Gdeisat22-Jun-08 0:12
Mohammad A Gdeisat22-Jun-08 0:12 
AnswerRe: Database design question Pin
Luc Pattyn22-Jun-08 0:54
sitebuilderLuc Pattyn22-Jun-08 0:54 
AnswerRe: Database design question Pin
Scott Dorman22-Jun-08 1:19
professionalScott Dorman22-Jun-08 1:19 
GeneralRe: Database design question Pin
Mohammad A Gdeisat22-Jun-08 2:36
Mohammad A Gdeisat22-Jun-08 2:36 
GeneralRe: Database design question Pin
Scott Dorman22-Jun-08 3:06
professionalScott Dorman22-Jun-08 3:06 
AnswerRe: Database design question Pin
Ashfield22-Jun-08 21:04
Ashfield22-Jun-08 21:04 
QuestionSSIS fuzzy look up package Pin
Member 400849220-Jun-08 21:45
Member 400849220-Jun-08 21:45 
QuestionTranspose rows as columns Pin
Member 400849220-Jun-08 15:54
Member 400849220-Jun-08 15:54 
Hi
I have a table with columns like

Table1:
1.ID as int
2.TableID as int
3.ColumnName Varchar(50)
4.ColumnValue Varchar(50)

Here TableID is not unique.I want to create a new table.
Each ColumnName value of Table1 should become Column of New
Table.
Each ColumnValue should become the row value of corresponding
column.

Table1 values:

ID TableID ColumnNAme ColumnValue
1 1 FirstNAme Javio
2 1 LastName Choprakhush
3 1 DateOfBirth 13/09/1986
4 1 Phone 6222226779


And i want to create a table like this

FirstName LastNAme DateOfBirth Phone
JAvio Choprashush 13/09/1986 6222226779


Can anyone Help ME?

Thanks in advance
sri
AnswerRe: Transpose rows as columns Pin
Ashfield21-Jun-08 7:27
Ashfield21-Jun-08 7:27 
AnswerRe: Transpose rows as columns Pin
A Wong23-Jun-08 4:26
A Wong23-Jun-08 4:26 
QuestionIssue while updating the DateTime field thru VB.NET Pin
hariram2820-Jun-08 8:49
hariram2820-Jun-08 8:49 
AnswerRe: Issue while updating the DateTime field thru VB.NET Pin
Ashfield20-Jun-08 8:56
Ashfield20-Jun-08 8:56 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
hariram2820-Jun-08 9:12
hariram2820-Jun-08 9:12 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
Ashfield20-Jun-08 11:28
Ashfield20-Jun-08 11:28 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
hariram2820-Jun-08 12:37
hariram2820-Jun-08 12:37 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
Ashfield21-Jun-08 7:28
Ashfield21-Jun-08 7:28 
QuestionGenerating XML Schema of SQL Server 2005 Database Pin
Rocky#20-Jun-08 3:13
Rocky#20-Jun-08 3:13 
QuestionMySql and DbCommand [modified] Pin
gandalf_le_blanc20-Jun-08 3:10
gandalf_le_blanc20-Jun-08 3:10 
Questionexception handling sql server 2005 Pin
Learner52020-Jun-08 2:20
Learner52020-Jun-08 2:20 
AnswerRe: exception handling sql server 2005 Pin
Hesham Amin20-Jun-08 6:01
Hesham Amin20-Jun-08 6:01 
GeneralRe: exception handling sql server 2005 Pin
Learner52020-Jun-08 6:17
Learner52020-Jun-08 6:17 
QuestionChange data arrangement Pin
SomeGuyThatIsMe20-Jun-08 1:28
SomeGuyThatIsMe20-Jun-08 1:28 
QuestionRecommendation for SQL Server book Pin
Baconbutty19-Jun-08 22:48
Baconbutty19-Jun-08 22:48 
AnswerRe: Recommendation for SQL Server book Pin
Alsvha19-Jun-08 23:50
Alsvha19-Jun-08 23:50 
QuestionAutomatic Transaction between MySQL and MSMQ Pin
jmohan19-Jun-08 22:02
jmohan19-Jun-08 22:02 

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.