October 2003
Intermediate to advanced
1072 pages
24h 21m
English
A bountiful source of undocumented features, commands, functions, and syntax can be found in the syscomments system table. The syscomments table is where the source code to every procedural object—every stored procedure, trigger, view, user-defined function, default, and rule object—in a database is stored. Each database has its own copy of this table. I'm especially fond of the syscomments tables in master, msdb, and the replication distribution databases. I've also found undocumented features hiding in replication-generated stored procedures, views, and triggers in publication or subscription databases.
I've found a gold mine of undocumented commands by snooping around in master..syscomments. ...
Read now
Unlock full access