Forum Replies Created

Viewing 15 posts - 2,581 through 2,595 (of 5,393 total)

  • RE: Table Access Order

    SQL Kiwi (9/30/2011)


    Gianluca Sartori (9/30/2011)


    As you can see, in this case STATISTICS IO returns objects in reverse order. Is this sensible and/or guaranteed/documented? I couldn't find anything on the...

    -- Gianluca Sartori

  • RE: inserting data into views

    Evil Kraig F (9/30/2011)


    Gianluca Sartori (9/30/2011)


    The error message says it all: you cannot update views that reference more than one table.

    Not entirely true, Gianluca. You just can't update more...

    -- Gianluca Sartori

  • RE: DSN connection to SQL 2005

    What do you mean with "data"?

    Just the records you selected? Yes, they are transferred as TDS packets.

    The whole table? No, it is not transferred, unless the application does things very...

    -- Gianluca Sartori

  • RE: Backup Failure Reasons in Email

    You're welcome.

    If you need further assistance, you can come back here and ask.

    -- Gianluca Sartori

  • RE: Difference between Except and Not In

    Oh, I see what you mean, thanks.

    -- Gianluca Sartori

  • RE: Table Access Order

    Great question, Paul!

    I got it wrong, as usual. 🙂

    I was highly tempted to pick the correct answer based on how the hash operator works, but I suspected there was a...

    -- Gianluca Sartori

  • RE: Backup issue

    Your login has network access permissions, Local System can't access UNC paths.

    -- Gianluca Sartori

  • RE: Difference between Except and Not In

    ~Dev~ (9/30/2011)


    You should not compare NULL with equality operators. you must use 'IS NULL' or 'IS NOT NULL' operators.

    Thus (1=NULL) and (NULL=NULL) are bad operations.

    Else, you may override default behavior...

    -- Gianluca Sartori

  • RE: Union results

    SQL Kiwi (9/22/2011)


    Cliff Jones (9/22/2011)


    Yes, I saw 1,2,3 and almost forgot to count the null value. Good straight forward question with all the likely wrong answers.

    I did forget to...

    -- Gianluca Sartori

  • RE: Backup issue

    The "Local System" account has no network access.

    Either change the job owner or run the job through a proxy account.

    -- Gianluca Sartori

  • RE: Difference between Except and Not In

    They should return the same results. Probably you oversimplified the original issue when posting the question.

    Can you post the original query and sample data?

    Something like this:

    DECLARE @a TABLE (

    id int

    )

    INSERT...

    -- Gianluca Sartori

  • RE: Select more records and indexes

    1. i would like to select all records and where customers have more than 1 Address return the Address with the Address Type = ‘Postal’.

    SELECT A.*

    FROM bulksms.tblContact AS A

    CROSS APPLY...

    -- Gianluca Sartori

  • RE: Select more records and indexes

    Please forgive me if I'm wrong but... is this homework?

    -- Gianluca Sartori

  • RE: BCP query out - cannot execute from .Net code

    Seems to me that you're running the BCP command with integrated security.

    In order to log on with windows authentication, the BCP process must be spawned using the windows credentials of...

    -- Gianluca Sartori

Viewing 15 posts - 2,581 through 2,595 (of 5,393 total)