Forum Replies Created

Viewing 15 posts - 481 through 495 (of 497 total)

  • RE: Using missing index DMVs to look for (potentially) helpful indexes...

    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...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Most efficient way to extract data for a historical data table

    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...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: FULLTEXT problem

    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...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: behaviour of isolation level snapshot on partitioned tables and views

    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...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Slow Script

    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...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: How to DEFINE REGEX for CSV FILE

    Take a look at this blog post:

    http://consultingblogs.emc.com/jamiethomson/archive/2005/03/19/SSIS_3A00_-Evaluating-variables-as-expressions.aspx

    It explains how to set variables using expressions.



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: How to DEFINE REGEX for CSV FILE

    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)...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: How to DEFINE REGEX for CSV FILE

    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)...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: How to DEFINE REGEX for CSV FILE

    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?



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Trouble with nested CTE

    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



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: How to run multiple stored procedures in parallel?

    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/



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SQL Server Database Backup Monitoring

    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...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Using CASE Condition for Prefixing a field from a table

    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)...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Text File (Destination) is only reporting 256 characters

    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 -...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Disk I/O performance issue

    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...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

Viewing 15 posts - 481 through 495 (of 497 total)