Forum Replies Created

Viewing 15 posts - 646 through 660 (of 1,170 total)

  • RE: Did This Work? - Forum Changes at SQLServerCentral

    This is really a good thing. It could help you find easier the most valuable answer in posts with more answers.

    Supporting it.

    Regards,

    Igor

    Igor Micev

  • RE: find query syntax from fn_dblog

    This can be helpful

    SELECT st.[text], *

    FROM sys.dm_exec_query_stats qs

    CROSS APPLY sys.dm_exec_sql_text(qs.plan_handle) st

    INNER JOIN sys.dm_exec_cached_plans cp ON qs.plan_handle = cp.plan_handle

    Regards,

    Igor

    Igor Micev

  • RE: Multiple conditions in one trigger

    Lowell (2/10/2014)


    Igor Micev (2/10/2014)


    Lowell (2/10/2014)

    INSERT INTO TableB(a,b,c)

    SELECT a,b,c FROM INSERTED

    WHERE ConditionA=1

    INSERT INTO TableB(a,c,d)

    SELECT a,c,d FROM INSERTED

    WHERE ConditionB=1

    [/code]

    Be careful. What if the first INSERT extends the ConditionB set?!

    exactly why i said...

    Igor Micev

  • RE: Multiple conditions in one trigger

    Lowell (2/10/2014)

    INSERT INTO TableB(a,b,c)

    SELECT a,b,c FROM INSERTED

    WHERE ConditionA=1

    INSERT INTO TableB(a,c,d)

    SELECT a,c,d FROM INSERTED

    WHERE ConditionB=1

    [/code]

    Be careful. What if the first INSERT extends the ConditionB set?!

    Igor Micev

  • RE: Changing compatability level - how will I know what has failed

    sku370870 (2/10/2014)


    Thank you for your reply.

    May I ask what is, no doubt, a stupid question. When you say it is the 'version of the instance' ... what does that mean?

    If...

    Igor Micev

  • RE: Temporary table in a batch

    Nice question. It's by design.

    Thanks.

    Regards,

    Igor

    Igor Micev

  • RE: ALLOW SNAPSHOT ISOLATION for SP

    Hi Both,

    I'd like to share with you the experience I got regarding this question. Maybe I didn't present it well. The idea was to use versioning only for the session...

    Igor Micev

  • RE: Changing compatability level - how will I know what has failed

    It's the version of the instance.

    Here are steps how to change the compatibility level (http://technet.microsoft.com/en-us/library/bb510680(v=sql.105).aspx).

    Take a look of the "Differences Between Compatibility Level 80 and Level 90" section.

    The practice...

    Igor Micev

  • RE: SSIS

    Deploy the package to SSIS.

    Configure a job to execute it.

    From ssms you can call:

    USE msdb ;

    GO

    EXEC dbo.sp_start_job N'Job_calling_ssis_package' ;

    GO

    You can put that code in a SP and execute it.

    From...

    Igor Micev

  • RE: Sorting large volume of data

    SQLRNNR (2/4/2014)


    Igor Micev (2/4/2014)


    Hi,

    Heavy load.

    My approach would be like:

    You can change your package to use the Foreach loop container, put a data flow task in the loop container and...

    Igor Micev

  • RE: Sorting large volume of data

    Hi,

    Heavy load.

    My approach would be like:

    You can change your package to use the Foreach loop container, put a data flow task in the loop container and then in the...

    Igor Micev

  • RE: Need help on SQL script

    I think your approach is not good. Even if you manage to resolve it now, you'll have issues later if going this way.

    My suggestion is to re-create your table a...

    Igor Micev

  • RE: Recompile error too long to get useful error information

    Grant Fritchey (2/4/2014)


    I'm not aware of hitting issues with ms_foreachdb skipping databases. But, you're right, it's technically unsupported by Microsoft, so could go away at any time. It's just a...

    Igor Micev

  • RE: Recompile error too long to get useful error information

    lisa.randles (2/4/2014)


    Hi, all. No ideas on how to view the full error? Bummer. 😉

    Grant, I'll see what I could do with the brackets, although I'm pretty green...

    Igor Micev

  • RE: Exclude NULL values from select statement

    helmi (2/4/2014)


    Yes I tried not to select NULL-values, but I think I explained the problem wrong. The column ProdStatusLog.LastUpdatedOn doesn't contain NULL values, but when I execute the statement, all...

    Igor Micev

Viewing 15 posts - 646 through 660 (of 1,170 total)