![]() | |
![]() |
| | Thread Tools | Display Modes |
#31
| |||
| |||
|
|
How to create a script with indexes and Primary Keys only using SQL Server 2000 Enterprise Manager In short, using SQL Server 2000 EM, from a database select the Generate Script option. When the wizard starts, 1. From the General Tab - select the script all object box 2. From the Formatting Tab remove all the checkboxes under the srcipting options... 3. From the Options Tab, select Script Indexes and/or Script Primary keys... 4. Then either press OK or return to the General Tab and press preview. The resulting output is a script of only create index commands and/or Alter Table commands (used to create the PK constraint). A very useful feature that is no longer available in SSMS 2005 or SSMS 2008. |
#32
| |||
| |||
|
|
How to create a script with indexes and Primary Keys only using SQL Server 2000 Enterprise Manager In short, using SQL Server 2000 EM, from a database select the Generate Script option. When the wizard starts, 1. From the General Tab - select the script all object box 2. From the Formatting Tab remove all the checkboxes under the srcipting options... 3. From the Options Tab, select Script Indexes and/or Script Primary keys... 4. Then either press OK or return to the General Tab and press preview. The resulting output is a script of only create index commands and/or Alter Table commands (used to create the PK constraint). A very useful feature that is no longer available in SSMS 2005 or SSMS 2008. |
#33
| |||
| |||
|
|
How to create a script with indexes and Primary Keys only using SQL Server 2000 Enterprise Manager In short, using SQL Server 2000 EM, from a database select the Generate Script option. When the wizard starts, 1. From the General Tab - select the script all object box 2. From the Formatting Tab remove all the checkboxes under the srcipting options... 3. From the Options Tab, select Script Indexes and/or Script Primary keys... 4. Then either press OK or return to the General Tab and press preview. The resulting output is a script of only create index commands and/or Alter Table commands (used to create the PK constraint). A very useful feature that is no longer available in SSMS 2005 or SSMS 2008. |
#34
| |||
| |||
|
|
How to create a script with indexes and Primary Keys only using SQL Server 2000 Enterprise Manager In short, using SQL Server 2000 EM, from a database select the Generate Script option. When the wizard starts, 1. From the General Tab - select the script all object box 2. From the Formatting Tab remove all the checkboxes under the srcipting options... 3. From the Options Tab, select Script Indexes and/or Script Primary keys... 4. Then either press OK or return to the General Tab and press preview. The resulting output is a script of only create index commands and/or Alter Table commands (used to create the PK constraint). A very useful feature that is no longer available in SSMS 2005 or SSMS 2008. |
#35
| |||
| |||
|
|
How to create a script with indexes and Primary Keys only using SQL Server 2000 Enterprise Manager In short, using SQL Server 2000 EM, from a database select the Generate Script option. When the wizard starts, 1. From the General Tab - select the script all object box 2. From the Formatting Tab remove all the checkboxes under the srcipting options... 3. From the Options Tab, select Script Indexes and/or Script Primary keys... 4. Then either press OK or return to the General Tab and press preview. The resulting output is a script of only create index commands and/or Alter Table commands (used to create the PK constraint). A very useful feature that is no longer available in SSMS 2005 or SSMS 2008. |
#36
| |||
| |||
|
|
How to create a script with indexes and Primary Keys only using SQL Server 2000 Enterprise Manager In short, using SQL Server 2000 EM, from a database select the Generate Script option. When the wizard starts, 1. From the General Tab - select the script all object box 2. From the Formatting Tab remove all the checkboxes under the srcipting options... 3. From the Options Tab, select Script Indexes and/or Script Primary keys... 4. Then either press OK or return to the General Tab and press preview. The resulting output is a script of only create index commands and/or Alter Table commands (used to create the PK constraint). A very useful feature that is no longer available in SSMS 2005 or SSMS 2008. |
#37
| |||
| |||
|
|
How to create a script with indexes and Primary Keys only using SQL Server 2000 Enterprise Manager In short, using SQL Server 2000 EM, from a database select the Generate Script option. When the wizard starts, 1. From the General Tab - select the script all object box 2. From the Formatting Tab remove all the checkboxes under the srcipting options... 3. From the Options Tab, select Script Indexes and/or Script Primary keys... 4. Then either press OK or return to the General Tab and press preview. The resulting output is a script of only create index commands and/or Alter Table commands (used to create the PK constraint). A very useful feature that is no longer available in SSMS 2005 or SSMS 2008. |
![]() |
| Thread Tools | |
| Display Modes | |
| |