How to get indexes of current database?
| 1 | select * from sys.indexes | 
How to get replication articles?
| 1 | SELECT | 
| 1 | select * from syspublications | 
- More info mation get get replication related table.
- Replication infomation
- Replication stored procedure
Useful replication stored procedure.
| 1 | exec sp_dropsubscription | 
How to close connect and drop db in sql server?
| 1 | alter database [dbname] set SINGLE_USER with rollback immediate |