Forum Replies Created

Viewing 15 posts - 1 through 15 (of 806 total)

  • RE: SQL Script to DELETE FOLDERS?

    Must admit, never played with powershell.

    /walks off to go find a book on powershell

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: How do you avoid dynamic SQL with this code?

    GSquared (6/10/2011)


    I don't see any reason for this to be dynamic at all.

    What he said -

    I've not often seen a valid reason for dynamic sql. If yours is being...

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: Stored Proc. Cycling through database

    simplier: EXECUTE sp_msforeachdb 'USE ? PRINT DB_NAME()'

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: Insert loop

    can I add, bcp looks cooler when in full screen. More so if you star at it intently and mutter when strangers walk by :hehe:

    I win 😉

    You might be...

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: Insert loop

    yup, purely for passers by and "covering all the bases" I would bang my head against a wall if the response was "well, it takes to long to copy the...

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: Insert loop

    as has been suggested, why why why touch the source table again.

    What you are doing is telling 10000 people to step forward, checking to see you've not spoken to them...

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: NOT NULL Constraint Ignored During BULK INSERT

    http://msdn.microsoft.com/en-us/library/ms188365.aspx

    CHECK_CONSTRAINTS

    Specifies that all constraints on the target table or view must be checked during the bulk-import operation. Without the CHECK_CONSTRAINTS option, any CHECK and FOREIGN KEY constraints are ignored, and...

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: SQL Script to DELETE FOLDERS?

    You could use a pretty simple command line delete via xp_cmdshell.

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: Scheduling JOB for SSIS Package

    You can, assuming your agent account is running with appropriate permissions, put the files on a UNC path (\\MyOtherServer\c$\xxxx)

    To test it, it is easier to enable xp_cmdshell and run exec...

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: Reading Custom formatted data from Excel in SSIS

    as an aside, I've not had much luck with changing the reg setting so that it scans more than 8 (7 if you have a header). I found the tasks...

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: DTS vs. SSIS Row-End Detection

    You sure the EOL is CRLF and not just CR or LF?

    Try either option on its own.

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: Copy 2005 Database containing table with varchar(max) to a 2000 database

    dwill (6/8/2011)


    Perhaps it is what it is - I am not shooting the messenger! - but the core task of copying a DB to another server (albeit 2005 -- >...

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: Need advice & suggestions on file existence in SSIS Script task part.

    Are you sure the value is being set correctly? Can you see it in a Watch?

    Did not perhaps set the Evaluation Operation to "OR"?

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: Check for existence of specific words in a view through SSIS

    You could extract the sql which makes the view and search that.

    SELECT OBJECT_DEFINITION(OBJECT_ID('vw_chkBreedDimension'))

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

  • RE: Reading Custom formatted data from Excel in SSIS

    hmm, lost me then. A tickle on google seems to suggest it's corrupt "DB" files. I am assuming you can still open excel.

    Try applying jet SP4?

    http://support.microsoft.com/kb/829558

    Important Jet 4.0 SP8 is...

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

Viewing 15 posts - 1 through 15 (of 806 total)