Forum Replies Created

Viewing 15 posts - 2,146 through 2,160 (of 3,221 total)

  • RE: Primary key inserted by trigger

    Please note the valid comment below by GilaMonster Posted Today @ 11:33 AM Gail Shaw thank you for bringing my oversight out into the light.

    Why use a trigger, you...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Finding store procedure

    Finally .... but can I ask why do you want to find the SP that "is using it"

    Indexes are not used by SP's rather are used by the Query optimizer...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Finding store procedure

    I believe this might be of assistance to you

    SQL Server 2005 Books Online (November 2008)

    sys.dm_db_index_usage_stats

    http://msdn.microsoft.com/en-us/library/ms188755(SQL.90).aspx

    It will give you Returns counts of different types of index operations and the time each...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Finding store procedure

    Your question is rather vague. Do you mean stored procedures (SP) using a query hint? Or those that reference in a WHERE clause a column of a...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    Lynn Pettis

    is said that you are never more than 6 persons removed from every other person on this earth

    Always thought that was a fallacy - what I...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Rowcount

    malleswarareddy_m The question is improper

    Rick-153145 Another rubbish QoTD.

    bluesbiker I agree with user "malleswarareddy_m", this question is improper

    To malleswarareddy_m, Rick-153145 and bluesbiker let me issue you a challenge....

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Round SQL Price to Nearest .05 or .09

    Msg 156, Level 15, State 1, Line 2

    Incorrect syntax near the keyword 'SELECT'.

    Msg 102, Level 15, State 1, Line 8

    Incorrect syntax near '.'.

    Corrected the code in my original answer

    Sorry...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Round SQL Price to Nearest .05 or .09

    jadonr

    You could use a modification of Lowell code in an UPDATE statement

    For example:

    UPDATE IM_PRC SET PRC_1 =

    CASE

    ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    Lynn Pettis (1/27/2010)

    --------------------------------------------------------------------------------

    Is my halo getting tarnished by such responses as this?

    Lynn Pettis today

    Of course you'd probably know most of this if you were to take some time and...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Wildcard

    Removed

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: return only results of a specific column data type

    Start here:

    SELECT DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME ='testTable' AND COLUMN_NAME = 'tinfo'

    which in your case returns: varchar and fold the code to determine the column type into...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Schema Changes from SQL 2000 to 2005 and Table Joins

    Ran your code using my SQL Server 2005 and got the following error messages.

    Msg 207, Level 16, State 1, Line 6

    Invalid column name 'DepartmentID'.

    Msg 207, Level 16, State 1, Line...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    Having been a newbie, and posting bone headed questions in the past, this one really got to me

    Thanks, but that doesn't really help me at all. I think that I...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Computing First paydate of quarter

    bgsxygrmn

    Thanks, but that doesn't really help me at all. I think that I would have to combine two of the functions that are listed in the link.

    Do not understand...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Computing First paydate of quarter

    Go here I am sure you can find what you need.

    https://www.sqlservercentral.com/blogs/lynnpettis/archive/2009/03/25/some-common-date-routines.aspx

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 2,146 through 2,160 (of 3,221 total)