↧
Answer by Paul Ward
Select * from Table where ISNUMERIC(Field) = 0This will probably use a table scan because of the function on field, but with only 90k records, it shouldn't be a problem
View ArticleAnswer by Paul Ward
This will get you half way there:Use MyDatabase Go select b.name, a.last_execution_time from sys.dm_exec_procedure_stats a inner join sys.objects b on a.object_id = b.object_id where...
View ArticleAnswer by Paul Ward
I find another reason to use stored proc's is dependency. If you have to make a change to a table or view, is sure is nice to know what objects depend on the table or view. With sql in the application,...
View Article