Forum Replies Created

Viewing 15 posts - 76 through 90 (of 204 total)

  • RE: Bulk-Logged Mode

    Great question, it taught me something new today, thank you Paul! I got it wrong because I believed that log backups will be smaller (did not even notice a lot...

  • RE: accumulating

    Wayne already provided an excellent solution in the post above. Here is the alternative utilizing the filtering you need based on the having predicate. I will have to start with...

  • RE: Obtain the date of datetime field

    There is no way I can possible dislike when my post is commented by you Jeff. When I wrote that I liked that you picked on my post, I actually...

  • RE: Obtain the date of datetime field

    Jeff Moden (6/4/2010)


    So, yeah... what you did actually was terribly wrong... The OP asked for a drink and you handed him a glass of high fructose corn syrup and...

  • RE: HAVING

    Rick Lang (6/7/2010)


    I'm missing something here. I get the same answer if I don't include the HAVING clause, so I'm not picking up on the value added of the...

  • RE: HAVING

    This is a very cool question, thank you Hugo. In addition to requiring some brain racking to understand and answer it correctly, it is also the best example I have...

  • RE: OpenRowset import from excel to sql fails

    I found the solution to your problem on MSDN blogs site. It really makes sense (as all these problems do in the end). The bottom line is that the source...

  • RE: OpenRowset import from excel to sql fails

    And the ad hoc distributed queries option is set to 1 right?

    sp_configure 'Ad Hoc Distributed Queries';

    shows 1 in both config_value and run_value columns?

    Oleg

  • RE: OpenRowset import from excel to sql fails

    Did you try to run the text file, just to make sure that there is nothing wrong with openrowset queries?

    declare @contents varchar(max);

    select @contents = f.BulkColumn

    ...

  • RE: Obtain the date of datetime field

    Jeff Moden (6/3/2010)


    Only having a couple of rows should never be justification for doing it wrong because the number of rows can change even if it's by someone borrowing the...

  • RE: OpenRowset import from excel to sql fails

    WayneS (6/3/2010)


    Are you saying that you actually have Excel loaded on your server? Excel (all Office products) are not supported on a server.

    I was trying to say that Excel file...

  • RE: OpenRowset import from excel to sql fails

    For sanity check you can still try checking for locks though. I don't know which process you have in place to write Excel files, but in theory what is possible...

  • RE: OpenRowset import from excel to sql fails

    I was able to reproduce the error you are getting. Here are the steps:

    Create the xls file on the server (C:\Useless\sample.xls)

    Run the script to get the data:

    select *

    from openrowset

    (...

  • RE: OpenRowset import from excel to sql fails

    May be what I am trying to suggest is dumb, please forgive me if it is. Does the aforementioned xls file exists in C:\Mraf folder where C: is the server...

  • RE: Updating tables in Linked server

    Whenever you need to execute a set based update which modifies data in the linked server table, the MSDTC will execute your updates row-by-row despite the fact that your statement...

Viewing 15 posts - 76 through 90 (of 204 total)