Click here to Skip to main content
15,887,135 members
Home / Discussions / Database
   

Database

 
GeneralRe: Problem : Retrive Data with ref table Pin
Wendelius26-Oct-08 10:59
mentorWendelius26-Oct-08 10:59 
GeneralRe: Problem : Retrive Data with ref table Pin
Ahmed R El Bohoty26-Oct-08 13:25
Ahmed R El Bohoty26-Oct-08 13:25 
GeneralRe: Problem : Retrive Data with ref table Pin
Wendelius27-Oct-08 9:10
mentorWendelius27-Oct-08 9:10 
AnswerRe: Problem : Retrive Data with ref table Pin
Rami Said Abd Alhalim27-Oct-08 2:20
Rami Said Abd Alhalim27-Oct-08 2:20 
GeneralRe: Problem : Retrive Data with ref table Pin
Ahmed R El Bohoty27-Oct-08 2:23
Ahmed R El Bohoty27-Oct-08 2:23 
GeneralRe: Problem : Retrive Data with ref table Pin
Rami Said Abd Alhalim27-Oct-08 3:13
Rami Said Abd Alhalim27-Oct-08 3:13 
GeneralRe: Problem : Retrive Data with ref table Pin
Ahmed R El Bohoty27-Oct-08 3:19
Ahmed R El Bohoty27-Oct-08 3:19 
QuestionMoving Data Between Tables Pin
Meysam Mahfouzi26-Oct-08 0:49
Meysam Mahfouzi26-Oct-08 0:49 
I have got a table say something like this:

ID VARCHAR(30),
ParentID VARCHAR(30),
TITLE NVARCHAR(100)


As it seems, this table has a parent-child relation with itself. the ID column is not auto-generated and is a combination of ASCII characters and numbers with length of 30.

Now, I want to move all the data contained in the above table to the following table:

ID SMALLINT
ParentID INT
TITLE NVARCHAR(100)


In this table, ID is an auto-generated integer Identity column starting from 1.
What is the best way for converting the ID columns while moving them to the new table?

Thanks in advance for any help Smile | :)
AnswerRe: Moving Data Between Tables Pin
Wendelius26-Oct-08 1:29
mentorWendelius26-Oct-08 1:29 
GeneralRe: Moving Data Between Tables Pin
Meysam Mahfouzi26-Oct-08 2:34
Meysam Mahfouzi26-Oct-08 2:34 
GeneralRe: Moving Data Between Tables Pin
Wendelius26-Oct-08 2:39
mentorWendelius26-Oct-08 2:39 
AnswerRe: Moving Data Between Tables Pin
PIEBALDconsult29-Oct-08 5:38
mvePIEBALDconsult29-Oct-08 5:38 
GeneralRe: Moving Data Between Tables Pin
Meysam Mahfouzi29-Oct-08 10:20
Meysam Mahfouzi29-Oct-08 10:20 
GeneralRe: Moving Data Between Tables Pin
PIEBALDconsult29-Oct-08 11:39
mvePIEBALDconsult29-Oct-08 11:39 
GeneralRe: Moving Data Between Tables Pin
Meysam Mahfouzi29-Oct-08 17:21
Meysam Mahfouzi29-Oct-08 17:21 
GeneralRe: Moving Data Between Tables Pin
PIEBALDconsult30-Oct-08 4:28
mvePIEBALDconsult30-Oct-08 4:28 
GeneralRe: Moving Data Between Tables Pin
Meysam Mahfouzi30-Oct-08 8:12
Meysam Mahfouzi30-Oct-08 8:12 
GeneralRe: Moving Data Between Tables Pin
PIEBALDconsult30-Oct-08 10:26
mvePIEBALDconsult30-Oct-08 10:26 
GeneralRe: Moving Data Between Tables Pin
Meysam Mahfouzi31-Oct-08 19:59
Meysam Mahfouzi31-Oct-08 19:59 
Questionproblem to start a sql server service manager Pin
sathyan_829425-Oct-08 2:19
sathyan_829425-Oct-08 2:19 
AnswerRe: problem to start a sql server service manager Pin
Wendelius25-Oct-08 2:24
mentorWendelius25-Oct-08 2:24 
GeneralRe: problem to start a sql server service manager Pin
sathyan_829425-Oct-08 2:51
sathyan_829425-Oct-08 2:51 
GeneralRe: problem to start a sql server service manager Pin
Wendelius25-Oct-08 4:32
mentorWendelius25-Oct-08 4:32 
QuestionEasier way to clip numeric values to min/max boundaries Pin
ScruffR24-Oct-08 15:21
ScruffR24-Oct-08 15:21 
AnswerRe: Easier way to clip numeric values to min/max boundaries Pin
Syed Mehroz Alam24-Oct-08 17:48
Syed Mehroz Alam24-Oct-08 17:48 

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.