SQL Server tables

M

mike w.

Hello,
I need to add Identity field to an existing SQL Server
table.
Then I need to to change this field to be the Primary key
Then I need to remove another exisitng field
Then I need to to add a Clustered Index to the table
All through ADO (or ADOX?).

I'm an Access guy, and I only have Access 97, and I just
got thrown a SQL server DB
and I won't have any SQL Server software on my PC for
awhile.
So I HAVE to do some this via code only.
I've linked the SQL Server tables in to my Access97 DB
through an ODBC but I can't make changes to linked tables.

help

mike w.
 
J

Jim Bennett

Mike,

I work with Access 2000 with SQL Server links and have
some working knowledge with SQL Server. You will need to
get/have access to the SQL Server where the SQL tables
reside. You can not change the SQL table properties
through the ODBC links. You must go to the SQL Server and
change the tables properties (insuring that the change
will or will not affect other tables, foreign key
relationships, if any). Then delete the current ODBC
links, because they retain the properties of the SQL
table before the change, and relink the tables.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top