Viewing 15 posts - 481 through 495 (of 496 total)
I use Glenn Berry's scripts to find missing indexes (along with a lot of other great information). In his script he is already doing something similar to what you are...
October 3, 2013 at 9:24 am
Does the table(s) in question have a surrogate key (i.e. identity column or something)? If so use your date query but add a statement to get anything that is greater...
October 3, 2013 at 8:47 am
Have you verified that you are not running into a stop word issue? Try setting the index on the table to ignore all stop words (including the system default ones):
ALTER...
October 1, 2013 at 5:21 pm
Jason L (10/1/2013)
have a look at read committed snapshot isolation (RCSI), it might be what you're looking for, a bit less onerous than full snapshot isolation.
Actually RCSI is the "big...
October 1, 2013 at 9:57 am
There isn't a lot to go on here. If you could share some more information like: How large are the tables in question (both size and number of rows)? Are...
October 1, 2013 at 8:51 am
Take a look at this blog post:
It explains how to set variables using expressions.
September 30, 2013 at 11:54 am
Using a ForEach File loop on your folder you can set the filename as a parameter. Once inside the container set two variables using SSIS expression (date and file name)...
September 30, 2013 at 11:14 am
Using a ForEach File loop on your folder you can set the filename as a parameter. Once inside the container set two variables using SSIS expression (date and file name)...
September 30, 2013 at 11:13 am
This would be very easy to do in SSIS. Is that possible? or does it have to be done with a stored procedure or T-SQL code outside of SSIS?
September 30, 2013 at 10:38 am
you can seperate CTEs by using a comma i.e.
WITH cte_name AS (select 1 col1),
cte_name_2 as (select 2 col2)
select * from cte_name
union all
select * from cte_name_2
September 30, 2013 at 10:32 am
Service broker could be used to accomplish this. Read this article and maybe you could adapt your system to using this method.
http://rusanu.com/2009/08/05/asynchronous-procedure-execution/
September 30, 2013 at 9:52 am
You could create a date table/CTE and join every day to the msdb..backupset table on the backup_finish_date to make sure that a backup (of whatever type you choose) was taken...
September 30, 2013 at 8:54 am
This will depend on the number of levels you want to go with this, but this should accomplish what you wanted:
CASE
when PATINDEX('%Z%',EmployeeCode) > 0 then REPLICATE('A',PATINDEX('%[0-9]%',EmployeeCode)) + SUBSTRING(EMPLOYEECODE,PATINDEX('%[0-9]%',EmployeeCode),99)...
September 30, 2013 at 8:14 am
Solved my own issue. Under disconnected edit I went to the connections and opened the Text File (Destination) connection, opened the OLE DB Properties, and edited the Column Lengths -...
January 23, 2006 at 3:27 pm
Hi Joe,
I check the recovery interval and it is still set to 0. I changed the value to 32,767 to see how that would affect performance and the issue was...
January 13, 2006 at 5:44 pm
Viewing 15 posts - 481 through 495 (of 496 total)