there are some primary key columns which are autoincrement in some tables.
for exampl page_id, now we have deleted many pages in old server so there
are many gaps between the page_id
even the it doest start with 1 because during the testing many initial pages
were deleted.
but when we move it to the new server with sql2005 it gives them numbers from 1,2,3 and
so on.
I need to keep existing 2000 keys. How can I acomplish this???
it would have worked if it also updates this number in other tables which
refer to this column
for example page_id is autoincreement in tbl_category_pa ges ( this table
contains the page information)
and it also appears in tbl_page_conten t ( this table contains the page's
content)
because it changes this number at one place and not the other place it makes
the database incorrect.
i tried many things ( there is even an option to keep the values of such
columns but doesnt seem to work)
Thanks,
Wess
for exampl page_id, now we have deleted many pages in old server so there
are many gaps between the page_id
even the it doest start with 1 because during the testing many initial pages
were deleted.
but when we move it to the new server with sql2005 it gives them numbers from 1,2,3 and
so on.
I need to keep existing 2000 keys. How can I acomplish this???
it would have worked if it also updates this number in other tables which
refer to this column
for example page_id is autoincreement in tbl_category_pa ges ( this table
contains the page information)
and it also appears in tbl_page_conten t ( this table contains the page's
content)
because it changes this number at one place and not the other place it makes
the database incorrect.
i tried many things ( there is even an option to keep the values of such
columns but doesnt seem to work)
Thanks,
Wess
Comment