Advertisement

05.16.2008 at 11:59AM PDT, ID: 23409413
[x]
Attachment Details

Problem while adding additional IDENTITY column to the existing temporary table?

Asked by spagidipati in MS SQL Server

Tags: columns, two

Hi All, i have different situation where i am selecting from 4 tables into temporary table and one of these table contains identity column, so while i am selecting the records into this temp table the IDenity column is also creating, my logic needs to have new identity column for this results and columns from this 4 tables are always variant so can any one suggest what should be the best solution for this problem.
I have two options but i feel these are not optmized.
1) adding another column and copy the Idenitity column values into the new column then dropping the identity column
2) changing the sytem configuration files but needs addition permissions

Start Free Trial
Related Solutions: two IDENTITY columns?
 
Loading Advertisement...
 
[+][-]05.16.2008 at 03:00PM PDT, ID: 21586780

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2008 at 04:23PM PDT, ID: 21587160

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.17.2008 at 12:42PM PDT, ID: 21590534

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 10:26AM PDT, ID: 21599745

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 10:49AM PDT, ID: 21599958

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 11:27AM PDT, ID: 21600239

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 03:29PM PDT, ID: 21636236

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 04:13PM PDT, ID: 21636676

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL Server
Tags: columns, two
Sign Up Now!
Solution Provided By: mark_wills
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.24.2008 at 01:55AM PDT, ID: 21638352

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05.29.2008 at 06:06AM PDT, ID: 21668663

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_Related_20080208