Forum Replies Created

Viewing 15 posts - 151 through 165 (of 405 total)

  • RE: A Spectacular Case of 100% CPU Caused by Online Reindexing

    Nice article. I had been in production DBA role for long, I understand the thrill of the chasing a performance issue and feeling exited finding the real culprit. Most often...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: how to find the login which is running more than 2 days in sql server

    You can you the old master.dbo.sysprocesses or the newer dmv

    sys.dm_exec_sessions

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: date issue

    It is strange when its not working for one particular date alone.

    The derived column expression looks fine to me.

    What is your source connection and what format you are reading...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Parse out the first 3 characters

    in ssis 2005 you need to use SUBSTRING(ColumnName,1,3)

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Need urgent help on developing a query

    That is ia funny way to create your table.

    I think you need to try the unpivot function.

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Chaning the drive letter for system database and user databases

    If I understand your requirement correctly, you want to move files to a new drive and rename the drive itself.

    Assuming the following,

    You cleanly shut down all instances, move the files...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Can't display text message in SSRS

    Koen is right. What you need to do is return something like all null row and

    handle this in SSRS (displaying a label on condition)

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Join of two tables of the different database.

    As I mentioned since both databses are in same instance, the buffer pool is shared, there wont be impact in join performance.

    But normally we split databases for security or functional...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Join of two tables of the different database.

    Technically if it is on the same instance, it should not create a problem.

    But is it only because of the size you are going for a new database? In that...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Is there a short cut (Like 'SELECT *') for selecting all but a few fields in a table??

    I have used the following trick in such situations

    Select '['+name+'],' from syscolumns where id=object_id('tableName')

    and name not in ('a','b')

    You can use the result in the seleect clause

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Delete files older than 7 days from a "Network shared folder"

    you can use fileinfo in C#

    Please see the below link.

    http://www.dotnetperls.com/fileinfo

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Running SQL 2005 SSIS packages that read FoxPro files in SQL 2012

    please review the acces for the account running package. I have seen these kind of issues when running through proxies

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: What is Biml? - Level 1

    Great introduction, Eagerly waiting for the articles. Most of the issues mentioned in this article I have faced already in development. Waiting to see whether BIML can be of help....

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Getting error while using link server from sql2005 to sql2000

    This may be due to some patch made on one of the servers.

    Can you test with openquery to see there is no permission, configuration issues

    Select * from openquery(linkservername,'select top 1...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

  • RE: Create index query for all tables

    Many scripts available already in script section

    see link below for eg

    http://www.sqlservercentral.com/scripts/Indexing/94375/

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

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

Viewing 15 posts - 151 through 165 (of 405 total)