Viewing 15 posts - 181 through 195 (of 346 total)
More information is needed to really understand what you really want...
You could go through the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for information on how to post better questions so that you get...
February 24, 2009 at 5:34 am
Is this the same procedure to which you're passing parameters @art_Filter and @sect_Filter as 'P Soni' and 'Ra tata'?
From the code it looks like @art_Filter and @sect_Filter should be SQL...
February 23, 2009 at 11:27 pm
As usual - I forgot the simplest method...use the "Generate Scripts" option in management studio to generate SP scripts by specifying one file per object... :Whistling:
February 11, 2009 at 11:15 am
The system views sys.sql_modules (and sys.all_sql_modules) will have the text of the stored procedure in the "definition" column...
An easy way to get text out of these tables is
February 11, 2009 at 11:12 am
If you are looking for columns that are not used by your application - and assuming that your application uses stored procedures/functions/views to access data - you can parse through...
February 5, 2009 at 2:23 pm
I don't have anything that tops the "not like %[0-9]%" 🙂
I only said it might not be the most elegant since someone else might come up with a more...
December 11, 2008 at 1:42 pm
Couple of thoughts:
Is tempdb configured properly on the new server (i.e. on its own drive, 1 tempdb file per processor is recommended - this might vary, is it sized...
December 11, 2008 at 1:15 pm
More elegant (actually lesser lines of code - not the most elegant) would be:
select usercode as [User#], UserName [User Name], Email from DTBL_Users where UserName not like '%[0-9]%'
December 11, 2008 at 1:01 pm
From an older post on this forum - the suggestion there was to check for corruption...since you didn't mention this in the list of things you already did you might...
December 11, 2008 at 12:12 pm
I'm not able to repro it in my CU2 environment (that's version 10.0.1763.0 right?)
Like Shinny mentioned - if the "Include IF NOT Exists Clause" is set to True then I...
December 8, 2008 at 3:14 pm
INFORMATION_SCHEMA.ROUTINE_COLUMNS only returns data for table valued functions and not for stored procedures right?
November 27, 2008 at 1:56 pm
You can use SET FMTONLY ON and then call the stored procedure to view the columns returned by the proc without executing it...remember to turn it OFF after you are...
November 27, 2008 at 1:15 pm
I don't think anyone would go in for partitioning if it entailed dropping the database :)...in other words - it is very much possible to partition your tables without dropping...
November 27, 2008 at 5:01 am
You can use the datepart function to get the hour and minute information...using other styles in the convert (120 for example) will not work as the format is hh:mi and...
November 26, 2008 at 2:53 pm
Is this what you are looking for? You might want to tweak the code if it doesn't perform well for large amounts of data...
--setup data
DECLARE @Tab1 TABLE(field1 int, field2 int)
INSERT...
November 26, 2008 at 2:08 pm
Viewing 15 posts - 181 through 195 (of 346 total)