dbTalk Databases Forums  

access - auto number prob

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss access - auto number prob in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bala
 
Posts: n/a

Default access - auto number prob - 10-21-2004 , 11:59 AM






Hi,

In my sql server 2000 i have the ID field set to identity. when converting
sql server to Access database, i need to set as Auto number field.

Currently its look like this. its createing a field as number. i need to
generate as a auto number into access.
"`ID` Decimal (18,0) NOT NULL"

how to change the qry?

thanks
bala

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: access - auto number prob - 10-21-2004 , 03:26 PM






Create the table up front.

I do not think the wizard will recognise the autonumber property do will
create an attribute of the base datatype

Remember though that this may throw off your PK/FK references.

Also look at this problem when using Identity()

Problems With IDENTITY() and the DataPump task.
(http://www.sqldts.com/default.aspx?293)

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"Bala" <Bala (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

In my sql server 2000 i have the ID field set to identity. when converting
sql server to Access database, i need to set as Auto number field.

Currently its look like this. its createing a field as number. i need to
generate as a auto number into access.
"`ID` Decimal (18,0) NOT NULL"

how to change the qry?

thanks
bala



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.