Forum Replies Created

Viewing 15 posts - 331 through 345 (of 444 total)

  • RE: Identifying Queries Running Slower Than Normal

    No error found to me. I copied the code from the attached doc file and it executed well...

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: replication

    'On another network' means on another domain over the internet?

    in this case you will be needing alot of netwrok configurations (probably VPN configuration) provided by your ISP.

    GOD BLESS...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: What kind of DBA are you?

    Well, most of the people here in Pakistan pronounce it as S Q L (each alphabet separate). 'Sequel' is also used, even I use this word for SQL but...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Backup-failing with I/O error

    The solution of this is posted here...

    http://www.tek-tips.com/viewthread.cfm?qid=308642

    its some connectivity (networking) issue between client and the server

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Viewing Analysis Services Data in Excel 2007 - SQL School Video

    Great series Brian... very helpful...

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Identifying Queries Running Slower Than Normal

    Very Helpful Article.

    Will work on it in detail in near future to use it according to my own requirements...

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Issue while disabling a trigger

    Disable Statement accepts Database Name. The syntax is correct if the table on which you are performing Disable Trigger operation is in the dbo schema. But in this case, the...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Moving TempDB

    Restarting instances will truncate tempdb BUT the drawback is the downtime. There are alot of examples where one cannot even think about restarting instance frequently. It is only...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Moving TempDB

    nice stuff. Normally, people overlook the delicacy of the tempdb and its location. It must have the appropriate space to work, especially when you are creating and re-building indices. ...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Same SQL on multiple databases.

    How about this...

    DECLARE @bb AS varchar(max)

    SET @bb = 'USE [?]; PRINT ''?''; '

    SET @bb = @bb + '

    DECLARE @aa AS varchar(max)

    SET @aa = ''''

    SELECT @aa = @aa + case WHEN...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Must declare the scalar variable

    declare @sSQL varchar(5000)

    set @sSQL = 'SELECT @iEp_E_Id=Ep_E_Id, @iEp_R_Id=Ep_R_Id,@iEp_Seccion=Ep_Seccion,@sEp_Nombre=Ep_Nombre From...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Slow with the in function

    Table structures and Execution plans will give a better look.

    I think I would have gone for Left Outer Join as I believe that it is faster than NOT In. Instead...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Help adding an if statement around a nested query

    Try the following way...

    SELECT @cnt = Count(*) From notes where note_date > '06/23/2008'

    Select person_id, case @cnt when 0 Then 'Y' ELSE 'N' END From Persons

    The solution might be different...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: How to run a query to bring all the fields from each table

    Hi Jeff..

    I executed your script and, surprisingly, got an error. One of my databases was in the recovering status and raised error on that database.

    So I altered your script a...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Script to check for last updates in database objects

    For SQL Server 2005, its simply

    SELECT * FROM sys.objects

    WHERE is_ms_shipped = 0

    ORDER BY modify_date DESC

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

Viewing 15 posts - 331 through 345 (of 444 total)