[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Change Ref ID on all Tables

Posted on 1998-08-02
3
Medium Priority
?
213 Views
Last Modified: 2010-03-19
What is the best way to change the Ref ID fields on all tables???
0
Comment
Question by:kachan
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
gmoriak earned 200 total points
ID: 1089359
Drop your foreign keys.  Write and run scripts to renumber your Id's .  Then readd your foreign keys

What is the reason for doing this?  There may be better alternatives both for renumbering and to renumbering.
0
 

Author Comment

by:kachan
ID: 1089360
In fact what I want to change is the Ref ID which is the the key value of all tables.. After getting advices from all experts, I think I would like to do it in other way rather changing this so important field.

Thanks for your input.
0
 

Author Comment

by:kachan
ID: 1089361
In fact what I want to change is the Ref ID which is the the key value of all tables.. After getting advices from all experts, I think I would like to do it in other way rather changing this so important field.

Thanks for your input.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question