If you are working on a SQL database and if suddenly a
developer changes the code and your queries results start
giving errors,how will you check using a T-SQL query (on
system tables) that what has changed in the database.

Answer Posted / sumesh.tc

SELECT syscomments.text AS text
FROM sysobjects INNER JOIN
syscomments ON sysobjects.id =
syscomments.id where sysobjects.name=(stored procedure name)

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to have clustered index on separate drive from original table location?

513


What are the advantages of using stored procedures?

540


Can you explain powershell included in sql server 2008?

503


Can you name some of the dml commands in sql?

548


explain extended properties

560






Are connections to sql server encrypted?

574


Tell me the difference between clustered and non-clustered index?

512


How many null values we can have in a unique key field in sql server?

554


What is user-defined scalar function?

555


Is oracle faster than sql server?

549


What do you mean by collation recursive stored procedure?

593


Why we should not use triggers?

536


How network traffic be reduced by using the stored procedure?

582


How can I tell if sql server is 32 or 64 bit?

501


How to connect to a sql server using odbc_connect()?

616