Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Alter sys.sp_columns in the current database

Author  Topic 

abeneventi
Starting Member

4 Posts

Posted - 2010-03-17 : 13:31:18
Hello to everyone. I'd like to change the stored procedure sys.sp_columns to make this change

select @fUsePattern = 1

to

select @fUsePattern = 0

Can anyone tell me if it is possible and, if yes, how?

Best regards

Alessandro

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-03-17 : 13:32:38
why do you want to change system sp?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

abeneventi
Starting Member

4 Posts

Posted - 2010-03-17 : 16:41:24
quote:
Originally posted by visakh16

why do you want to change system sp?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/





It's a too long story. Could you please tell me if it is possible and how?

regards

Alessandro
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-03-17 : 17:14:32
Why don't you just copy the stored procedure contents and then make your change into a new, user stored procedure?

You will probably not receive support from Microsoft if you modify any system stored procedures.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -