Click here to Skip to main content
15,897,518 members
Home / Discussions / Database
   

Database

 
GeneralRe: query needed to swap column values for duplicate Pin
Luc Pattyn1-Dec-09 15:06
sitebuilderLuc Pattyn1-Dec-09 15:06 
GeneralRe: query needed to swap column values for duplicate Pin
_Damian S_1-Dec-09 15:58
professional_Damian S_1-Dec-09 15:58 
QuestionTransposing rows and Columns in SQL Pin
Leo Smith1-Dec-09 8:05
Leo Smith1-Dec-09 8:05 
AnswerRe: Transposing rows and Columns in SQL Pin
Niladri_Biswas1-Dec-09 15:54
Niladri_Biswas1-Dec-09 15:54 
Questionuser import Pin
AndyInUK1-Dec-09 6:30
AndyInUK1-Dec-09 6:30 
AnswerRe: user import Pin
loyal ginger1-Dec-09 6:44
loyal ginger1-Dec-09 6:44 
GeneralRe: user import Pin
AndyInUK1-Dec-09 22:08
AndyInUK1-Dec-09 22:08 
GeneralRe: user import Pin
loyal ginger2-Dec-09 3:43
loyal ginger2-Dec-09 3:43 
In this case all you need to do is to create these "other tables", and then use "INSERT...SELECT..." query to pull out the necessary fields from the temp table and insert the records to the new tables.

You can also create the tables and insert the records in one step by using the "SELECT...INTO..." statement.

Good luck!
AnswerRe: user import Pin
Shameel1-Dec-09 6:56
professionalShameel1-Dec-09 6:56 
GeneralRe: user import Pin
loyal ginger1-Dec-09 7:01
loyal ginger1-Dec-09 7:01 
GeneralRe: user import Pin
AndyInUK1-Dec-09 22:08
AndyInUK1-Dec-09 22:08 
GeneralRe: user import Pin
Shameel2-Dec-09 6:53
professionalShameel2-Dec-09 6:53 
GeneralRe: user import Pin
AndyInUK3-Dec-09 0:34
AndyInUK3-Dec-09 0:34 
GeneralRe: user import Pin
Shameel4-Dec-09 6:59
professionalShameel4-Dec-09 6:59 
AnswerTSQL for creating SQL Server Logins and Users Pin
David Mujica1-Dec-09 7:44
David Mujica1-Dec-09 7:44 
GeneralRe: TSQL for creating SQL Server Logins and Users Pin
AndyInUK1-Dec-09 22:08
AndyInUK1-Dec-09 22:08 
QuestionString search problem in SQL Server Pin
hvgyufg28fh38tyr78hf1-Dec-09 1:57
hvgyufg28fh38tyr78hf1-Dec-09 1:57 
AnswerRe: String search problem in SQL Server [modified] Pin
Niladri_Biswas1-Dec-09 2:04
Niladri_Biswas1-Dec-09 2:04 
GeneralRe: String search problem in SQL Server Pin
hvgyufg28fh38tyr78hf1-Dec-09 2:27
hvgyufg28fh38tyr78hf1-Dec-09 2:27 
AnswerRe: String search problem in SQL Server Pin
The Man from U.N.C.L.E.1-Dec-09 2:28
The Man from U.N.C.L.E.1-Dec-09 2:28 
GeneralRe: String search problem in SQL Server Pin
hvgyufg28fh38tyr78hf1-Dec-09 2:30
hvgyufg28fh38tyr78hf1-Dec-09 2:30 
Questionselect statement to display name 1000 times Pin
arun_pk30-Nov-09 23:16
arun_pk30-Nov-09 23:16 
AnswerRe: select statement to display name 1000 times [modified] Pin
Niladri_Biswas30-Nov-09 23:27
Niladri_Biswas30-Nov-09 23:27 
GeneralRe: select statement to display name 1000 times Pin
arun_pk30-Nov-09 23:31
arun_pk30-Nov-09 23:31 
GeneralRe: select statement to display name 1000 times Pin
Niladri_Biswas30-Nov-09 23:35
Niladri_Biswas30-Nov-09 23:35 

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.