Tuesday, 25 July 2023

to get table column information.

 exec sp_help tablename


link

https://www.sqlservercentral.com/articles/10-sql-snippets-for-faster-more-effective-code


to get list of SPS Based on Table Name

SELECT DISTINCT o.name, o.xtype

FROM syscomments c

INNER JOIN sysobjects o ON c.id=o.id

WHERE c.TEXT LIKE '%tbl_Dig_EmpFroms%'



No comments:

Post a Comment

Best UI