Forum Replies Created

Viewing 15 posts - 4,216 through 4,230 (of 5,685 total)

  • RE: Need the Price with the Latest Date

    drew.allen (1/31/2011)


    Craig Farrell (1/31/2011)


    After having done some other tests, this method seems to be the quickest, especially if you have a solid index on Item/ChangePriceDate

    My tests indicate the opposite. ...

  • RE: Text file data to be distributed into 3 SQL Tables - how?

    I personally would actually approach this from SSIS, though there are varying discussions on that.

    For SSIS, you'd multi-cast and do a number of twists on the datastream including conditional splits...

  • RE: Passing the name of a SQL Server instance as a parameter

    Melanie Peterson (1/31/2011)


    How does the linked server definition (which exists) need to be changed?

    Also - I should've noted that the server where this sp resides is 2005, but REMSServer is...

  • RE: Need the Price with the Latest Date

    After having done some other tests, this method seems to be the quickest, especially if you have a solid index on Item/ChangePriceDate

    SELECT

    mt.Item,

    mt.UnitPrice,

    mt.ChangeDate

    FROM

    #myTable AS mt

    JOIN

    (select

    Item,

    MAX( ChangeDate) AS MaxDate

    FROM

    #mytable

    group by

    Item

    ) AS drv

    ON

    mt.ChangeDate...

  • RE: I cannot understand these codes

    Date is today.

    0 is 1/1/1900, it's just a baseline number. It would appear they're trying to do time/month component strips.

    For example, if I want the first day of this...

  • RE: Passing the name of a SQL Server instance as a parameter

    Melanie Peterson (1/31/2011)


    it works fine if the value of @REMSServer is a simple SQL Server name, for example DEV30. However, if @REMSServer is an instance, e.g., SQL004\SQL004, I get...

  • RE: Making a Phone number list with XmlPath('')

    I believe this article is what you were looking for:

    http://www.sqlservercentral.com/articles/FOR+XML+PATH/70203/

    Search only articles here, and use the search string: For XML delimited string

  • RE: How DBAs Manage SQL Server Express for Applications

    When an application installs Express, it usually is expecting complete control over the server itself. They're coding it for non-IT people to be able to use the product and...

  • RE: He wants what!?!

    theBorch (1/31/2011)


    @craig-2 thanks for the reply and insight and the concern for my feet 😛

    Sadly the consultant touted his years of experience with the software, which is what in turn...

  • RE: He wants what!?!

    sjimmo (1/31/2011)


    Craig,

    I agree with everything that you said, but many times when pushed these vendors can use dbo access. They prefer SA because it is easier for them. I have...

  • RE: Are the posted questions getting worse?

    WayneS (1/31/2011)


    So... what's your favorite data modeling tool?

    Starting a new job today... I get to use whatever tools I want. I've used ERwin and PowerDesigner in the past. IMHO, ERwin...

  • RE: He wants what!?!

    theBorch (1/31/2011)


    This consultant hit a snag in one of these wizards and said it was a permissions problem

    This consultant was clueless when asked what permissions he needed to complete the...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (1/31/2011)


    GilaMonster (1/31/2011)


    Brandie Tarvin (1/31/2011)


    If the poster said that, I don't blame you for slapping down. The question is, how diplomatic were you?

    He was pretty diplomatic about it. Far...

  • RE: Permission to Kill Sleeping Job

    scorpianprince (1/30/2011)


    Hi

    I have a job to kill all the sleeping connections to my server, now i want to give access to this job to one of my user how...

  • RE: Cascade Delete/Update question

    Yes, because you have one table with two foreign keys.

    Now, be careful here. If you cascade delete/update both those keys, any change in either table will affect the center...

Viewing 15 posts - 4,216 through 4,230 (of 5,685 total)