Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / SQL Server / ADP / September 2003

Tip: Looking for answers? Try searching our database.

how to add multiple indexes to an access mdb using dts?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrew Brill - 18 Sep 2003 14:20 GMT
Hi,
   I'm rebuilding a load of packages we lost (our backup didn't include the
packages!) and I'm trying to work out how we used to create the indexes on
access databases using the execute sql task within a dts package.

The following works on a connection set to an sql table but not on an access
connection (where it seems to only let you have 1 statement..

create index capvehicleid on cap_cprval(capvehicleid);
create index registrationletter on cap_cprval(registrationletter);
create index [year] on cap_cprval([year]);

So how do i send multiple statements to access or create multiple indexes in
one statement?
I know I could use more tasks but I'm sure our old packages used to do this
within one task.

Thanks,
   Andrew
Andrew Brill - 18 Sep 2003 14:59 GMT
Got it!
'go' is the word I'm looking for.

create index capvehicleid on cap_cprval(capvehicleid);
go
create index registrationletter on cap_cprval(registrationletter);
go
create index [year] on cap_cprval([year]);
go
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.