Viewing 15 posts - 1 through 15 (of 22 total)
Hi Terry,
Thanks for the article!
In a data warehousing environment with larger data I am always looking for ways to enhance the query performance. I have to put your approach into...
Moe M
Database Consultant
http://www.cubeangle.com
November 1, 2010 at 9:05 am
Peter Petrov (10/15/2010)
Nice finding! Good to know...The script could be simplified (2005 and 2008):
SELECTOBJECT_NAME(object_id) AS proc_name
,object_id
,definition
FROMsys.sql_modules
WHEREPATINDEX('%CREATE%PROCEDURE%',definition) > 0
ANDPATINDEX('%' + OBJECT_NAME(object_id) + '%', definition) = 0
ORDERBY OBJECT_NAME(object_id);
Thanks Peter,
Yes you are...
Moe M
Database Consultant
http://www.cubeangle.com
October 15, 2010 at 2:04 pm
Hardy21 (10/10/2010)
Andrew Novick (10/9/2010)
and it was classified as "Won't Fix"
It's something we're going to have to live with.
Regards,
Andy
Andrew Novick
SQL...
Moe M
Database Consultant
http://www.cubeangle.com
October 13, 2010 at 8:09 am
Andrew Novick (10/9/2010)
and it was classified as "Won't Fix"
It's something we're going to have to live with.
Regards,
Andy
Andrew Novick
SQL Server...
Moe M
Database Consultant
http://www.cubeangle.com
October 13, 2010 at 8:06 am
davepaulino (10/7/2010)
We also encountered this problem when we generate using sql compare application. Our workaround is to drop and recreate the procedure or functions. Great article!
Thanks!
Yes it's good to always...
Moe M
Database Consultant
http://www.cubeangle.com
October 8, 2010 at 9:18 am
CirquedeSQLeil (10/7/2010)
Thanks for the article.
Thanks for reading it!
Moe M
Database Consultant
http://www.cubeangle.com
October 8, 2010 at 9:17 am
UMG Developer (10/7/2010)
However, I think it is interesting that you only found the problem because of bad data...
Moe M
Database Consultant
http://www.cubeangle.com
October 7, 2010 at 10:24 am
Agreed. DROP/CREATE is also easier to be put in a script
Moe M
Database Consultant
http://www.cubeangle.com
October 7, 2010 at 9:41 am
Yes after the re-name has occured if you alter procedure then it will update the syscomments
Moe M
Database Consultant
http://www.cubeangle.com
October 7, 2010 at 9:24 am
I don't think you rename a stored procedure using 'ALTER PROCEDURE ...'
Moe M
Database Consultant
http://www.cubeangle.com
October 7, 2010 at 9:11 am
We achive the same using an 'execute_all' role that has permission execute on all SPs. We just need to update the role in that case.
Moe M
Database Consultant
http://www.cubeangle.com
October 7, 2010 at 8:59 am
I didn't get a chance to test it on 2008. Thanks for trying that as you said it is nice to know
Moe M
Database Consultant
http://www.cubeangle.com
October 7, 2010 at 8:54 am
Thanks everybody,
Recently I was reading an article suggesting to actually create a single index on the columns to be updated. Pre-sorting the file also helps a lot.
I am going to...
Moe M
Database Consultant
http://www.cubeangle.com
January 26, 2007 at 7:39 am
Hi,
Thanks for quick reply and sorry if my question was vague its just I am not very experienced with large datasets but willing to learn good techniques and practices.
Width of...
Moe M
Database Consultant
http://www.cubeangle.com
January 24, 2007 at 11:09 am
Thanks Jamie.
Actually I was working on this but I was not quite sure if there is any other way to do it from (e.g. From code) or not. But you made me...
Moe M
Database Consultant
http://www.cubeangle.com
March 14, 2006 at 7:02 am
Viewing 15 posts - 1 through 15 (of 22 total)