Forum Replies Created

Viewing 15 posts - 16 through 30 (of 89 total)

  • RE: MERGE INTO

    I have been on the link and come up with this, my problem is that I get an error which I dont understand would affect things...

    Error

    Msg 2627, Level 14,...

  • RE: Database Replication

    Thanks for the reply, I've googled it and found a couple of tutorials which have been very helpful. Testing it on test data seems to be what I am looking...

  • RE: Database Replication

    steveb. (9/26/2011)


    you could setup your SSIS packages to do an incremental load based upon a create/modified date in the source, and then from there use either an update...

  • RE: Pivot or Case Statement

    jez.lisle (8/11/2011)


    Mark-101232 (8/11/2011)


    Without sample data it's hard to tell, but also

    SessionSlotDate = DATEADD(dd,1,SessionSlotDate)

    is always false - typo?

    I've attached sample data

    Table scripts

    CREATE TABLE TestData (

    SessionID numeric(10, 0) NOT NULL

    ,SessionSlotDate...

  • RE: Pivot or Case Statement

    Mark-101232 (8/11/2011)


    Without sample data it's hard to tell, but also

    SessionSlotDate = DATEADD(dd,1,SessionSlotDate)

    is always false - typo?

    I've attached sample data

  • RE: Problem Query

    Ninja's_RGR'us (8/2/2011)


    Sql Sentry is awesome, but you still need a .sqlplan to work with it.

    Missing indexes are contained in the actual plan.

    If it "only" takes 55 minutes to run just...

  • RE: Problem Query

    All, Thanks for the help and advice... erm where to start with the replies 🙂

    I know you all are doing this in your free time and very grateful you took...

  • RE: Locked Tables

    GilaMonster (7/25/2011)


    Before you go that route...

    Nolock means potentially incorrect data. Not just dirty reads but also duplicate rows and missed rows. If those reports just have to be mostly accurate...

  • RE: Locked Tables

    John Mitchell-245523 (7/25/2011)


    The NOLOCK hint can cause dirty reads, so only use it if you don't require the data returned to be totally accurate. Instead, concentrate on optimising your...

  • RE: OpenRowSet issues

    GSquared (3/29/2011)


    You're probably missing the Office 2007 data providers, based on the error.

    They can be found at: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en

    Thanks, I'll download and install this and see what happens.

  • RE: OpenRowSet issues

    LutzM (3/29/2011)


    Is it possible the Excel file is still open (= in use by another application)?

    Thanks for the reply but it wasnt open, the file was a copy into a...

  • RE: BCP in

    I have been googling Bulk Inserts and found this below... I have tried and it seems to work very well at the moment.

    http://www.sqlteam.com/article/using-bulk-insert-to-load-a-text-file

    Thanks for all the...

  • RE: BCP in

    Brandie Tarvin (10/28/2010)


    Jez,

    So you'd be doing this manually instead of scheduled as an automatic job?

    Have you tried the Import / Export Wizard? It can import flat files.

    Where I'm working I...

  • RE: BCP in

    Ivan Mohapatra (10/27/2010)


    The Meannig Of BCP is Bulk Copy Program ,Are u using SQlcmd or powershell for bulk insert ?

    I would be using SSMS to run this

  • RE: BCP in

    Nope... I mean you can if you want but BULK INSERT may be a better option. It's very similar to BCP except that it doesn't require the use of xp_CmdShell....

Viewing 15 posts - 16 through 30 (of 89 total)