Forum Replies Created

Viewing 15 posts - 631 through 645 (of 3,221 total)

  • RE: Trigger Question

    Test either of these to chose the one you realy want.

    SELECT USER_NAME();

    GO

    SELECT SUSER_SNAME();

    Here is an example of its use:

    CREATE TABLE #Orders(

    [UPC] [varchar](50) NOT NULL,

    [SuggestedPrice] [money] NULL,

    [Addedby] [Varchar] (45))

    CREATE PROC...

    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: Grouping by contiguous Date ranges and multiple columns

    vj6396 (2/18/2012)


    Thanks..

    http://www.sqlservercentral.com/articles/T-SQL/71550 had exactly what I needed. I hadn't quite understood the "multiple objects" when I saw the post earlier..

    Regards

    There may be others with the same thought. ...

    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: Help for a Novice Student

    If I am reading your posting correctly (and there is a good chance that I am not) in the Product table, you have designated the Product_ID (PK). Where I take...

    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?

    When going to "Recent Posts", this shows up:

    http://www.sqlservercentral.com/scripts/CROSS+JOIN/87362/

    Note that it is a SCRIPT so why oh why is it appearing in "Recent Posts" - another foul up something like what...

    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: Grouping by contiguous Date ranges and multiple columns

    This might give you an idea of how to do what you want to do.

    http://www.sqlservercentral.com/articles/T-SQL/71550/

    It is an excellent discussion by Jeff Moden with sample code to do what I think...

    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: T-SQL Performance 1

    SQL Kiwi (2/17/2012)


    Cliff Jones (2/17/2012)


    Interesting but I don't think I want my developers to discover the FORCESEEK hint.

    This is completely the wrong approach, in my opinion. I prefer to...

    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?

    The subject of these self driving or assisted driving cars got me to search the web. Try viewing these

    Nevada Becomes First State To Regulate Self-Driving Cars ...

    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: Adding a Week number in a query.

    Looking for something like this:

    DECLARE @HireDate DATETIME

    DECLARE @CurrentDate DATETIME

    SET @HireDate = '01-06-2012'

    SET @CurrentDate = GETDATE()

    SELECT DATEPART(wk, @CurrentDate) - DATEPART(wk,@HireDate) AS 'Weeks Worked'

    --Result:

    Weeks Worked

    6

    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?

    Jeff Moden (2/17/2012)


    Evil Kraig F (2/17/2012)


    GSquared (2/17/2012)


    bitbucket-25253 (2/17/2012)


    Way way back Virginia Tech was working on a system with a buried cable in each lane, a sensing mechanism on the front...

    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?

    Revenant (2/17/2012)


    GSquared (2/17/2012)


    bitbucket-25253 (2/17/2012)


    Getting away from cold weather and all, I can remember back to 1950 when an uncle of mine gave me his old, old beetle so it must...

    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?

    Getting away from cold weather and all, I can remember back to 1950 when an uncle of mine gave me his old, old beetle so it must have been say...

    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?

    Koen Verbeeck (2/16/2012)


    Revenant (2/16/2012)


    Grant Fritchey (2/16/2012)


    Stefan Krzywicki (2/16/2012)


    Brandie Tarvin (2/16/2012)


    Can I just say, I hate that nothing dies in Florida? For those of you experiencing winter, please send snow in...

    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?

    SQL Kiwi (2/16/2012)


    Are the posted articles[/url] getting worse?

    Just shows that you must read the comments posted on any published article.

    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: adding years loop

    Look at this "Spackle" article by Jeff Moden, I think it might do what you want to do.

    http://www.sqlservercentral.com/articles/T-SQL/71550/

    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: Backup/Restore Sql 2005 to 2000

    zeeshandar (2/16/2012)


    Hi,

    Let me explain what I am trying to do in Steps:

    I have:

    - Sql server 2005 at my hosting

    - Sql server 2000 at my office computer

    I want to download complete...

    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 - 631 through 645 (of 3,221 total)