Forum Replies Created

Viewing 15 posts - 6,151 through 6,165 (of 8,754 total)

  • RE: Find all tables used in any stored procedure

    Quick suggestion, query the sys.sql_dependencies view

    😎

    SELECT

    OBJECT_NAME(SD.object_id) AS OBJ_NAME

    ,OBJECT_NAME(SD.referenced_major_id) AS DEPENDENT_NAME

    ,SD.class_desc...

  • RE: Are the posted questions getting worse?

    TomThomson (2/14/2015)


    Eirikur Eiriksson (2/7/2015)


    TomThomson (2/7/2015)


    Grant Fritchey (2/5/2015)


    Really? Yankees fans? Are they even human?

    Usually not - they're mostly American.

    Tom, must say that I find this comment totally inappropriate

    😎

    How can it...

  • RE: Is it possible to rename MSSQL Instance Name

    Quick answer, NCD (no can do), suggest uninstalling installing and attach the DBs

    😎

  • RE: Are the posted questions getting worse?

    Lynn Pettis (2/14/2015)


    ... Mark one off, 14 days on the calendar to go. 14 days on the calendar to go, 14 days to go, ...

    Only two weeks, almost there!

    😎

  • RE: Msg 8134: Divide by zero error encountered

    Further on Luis's post, simply look in the code for the pattern division by a column or a variable such as X / [column_name]

    😎

  • RE: Are the posted questions getting worse?

    Luis Cazares (2/12/2015)


    djj (2/12/2015)


    Ed Wagner (2/12/2015)


    Sioban Krzywicki (2/12/2015)


    Eirikur Eiriksson (2/12/2015)


    Brandie Tarvin (2/12/2015)


    jasona.work (2/12/2015)


    Brandie Tarvin (2/12/2015)


    jasona.work (2/12/2015)


    Is it me, or is it at least once a week minimum someone posts a...

  • RE: Are the posted questions getting worse?

    Sioban Krzywicki (2/12/2015)


    Ed Wagner (2/12/2015)


    Sioban Krzywicki (2/12/2015)


    Eirikur Eiriksson (2/12/2015)


    Brandie Tarvin (2/12/2015)


    jasona.work (2/12/2015)


    Brandie Tarvin (2/12/2015)


    jasona.work (2/12/2015)


    Is it me, or is it at least once a week minimum someone posts a "How...

  • RE: parseing xml string

    Slight side step from Alan's brilliant answer and pitching a retro "blast from the past", here is an example that checks if the root tag has a closing tag, the...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (2/12/2015)


    jasona.work (2/12/2015)


    Brandie Tarvin (2/12/2015)


    jasona.work (2/12/2015)


    Is it me, or is it at least once a week minimum someone posts a "How do I keep the DBA / Sysadmin from...

  • RE: Capture Source count,update count,inserted count in variable using merge

    Quick thought, consider changing the hashing part of the statement as it will not produce unique hash values for every unique combination of input values.

    😎

    More details here.

  • RE: Query Causing Blocking, Locks Table for 1000 Seconds, Help Needed!

    It would be very interesting to see the execution plan for this code and whoever wrote this code apparently doesn't like the optimizer

    😎

  • RE: Checksum hashvalue in sql 2012

    You are very welcome.

    😎

    A word of caution, make certain you understand the shortcomings of this code, mainly it neither handles NULL values nor does it guarantee unique values for...

  • RE: Convert Varchar to Float

    cm62597 (2/11/2015)


    I have tried that as well you just get Error converting data type varchar to float.

    Quick question, can you post the full query and the DDL for the relevant...

  • RE: Checksum hashvalue in sql 2012

    Quick thought, it makes no sense to use CHECKSUM inside the HASHBYTES function, change CHECHSUM to CONCAT to avoid collisions, consider this example:

    😎

    SELECT CONVERT(VARCHAR(34),HashBytes('MD5', CONCAT(Col001,Col002,Col003,Col004,Col005,Col006,Col007,Col008

    ...

  • RE: xp_cmdshell after a password change

    bmahony993 (2/10/2015)


    Its using Execute As "domain\user" currently, and that user is a sys admin

    Is "domain\user" password expired?

    😎

Viewing 15 posts - 6,151 through 6,165 (of 8,754 total)