Forum Replies Created

Viewing 15 posts - 1,486 through 1,500 (of 1,583 total)

  • RE: KILLED/ROLLBACK thread in Activity Monitor

    Is the query you killed running on a remote/linked server? If so, it's possible it's in a KILLED/ROLLBACK state on the server you killed it from, but still running...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Using SSIS to export data from SQL 2005 to Excel 2007

    I don't suppose someone could actually post what was changed in the config files for these past 2 posts? 🙂

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: importing xml files

    In that case try this:

    (DISCLAIMER :: there's probably much better ways to accomplish this but I prefer this because it's easier to write and modify)

    Alos, you'll need to have xp_cmdshell...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: importing xml files

    Do you ultimately want to load one XML file at a time from the directory or loop through and load them all at the same time?

    If it's just the one...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Difference between count(*) and select *

    Hey I'm here to learn as well and am by no means an expert 🙂 Just trying to reiterate something that I was taught (apparently mis-taught) without ever validating...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Difference between count(*) and select *

    Shouldn't SELECT COUNT(1) be the preffered method here over (*)? In larger tables I've noticed drastic performance improvements by choosing only 1 column...

    Also, linked servers can be sporadically "quirky"...Do...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Batch File For Executing Multiple SP's

    I use this all the time with great success:

    Script #1 (saved as setup.bat)

    set ServerName=YourServer

    set DBName=YourDB

    set sql_login=YouUser

    set sql_passwd=YourPwd

    Script #2 (saved as DeployScripts.bat)

    @Echo Off

    goto skipcomments

    rem

    :skipcomments

    call setup.bat

    if not "%UserName%"=="" goto ok

    goto...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Importing data performance

    While you don't specify where the data you're importing is coming from (flatfile, another table, etc). You should use a WHILE loop to batch process your records. You can...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: SSIS :: ForEach File Enumerator Loop Containter :: PLEASE HELP

    I disabled the DELETE file control and replaced it with a simple script and it appears to have worked. Go figure :S

    I really don't get this SSIS...what on earth...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: SSIS :: ForEach File Enumerator Loop Containter :: PLEASE HELP

    Well I thought this was fixed.

    Randomly it appears to rear its ugly head.

    Again, everything in the package runs successfully (all GREEN) yet there are errors with the foreach...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: SSIS :: HOW TO: Check if a flat-file has records in it

    How would I go about adding that (forgive me but I'm not that accustomed to SSIS yet)

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: SSIS :: ForEach File Enumerator Loop Containter :: PLEASE HELP

    This has been resolved. In case anyone's interested the issues lays with setting the variable beforehand.

    Variable Mapped:

    Name: RRINVHDR

    Scope: Package Level

    Data Type: String

    Value: F:\ETLDrop\work\RRINVHDR.dat

    The value should be set to an...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: datetime => how to have complete date with 00:00:00.000

    NEVER use BETWEEN on dates with times.

    Why?

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Best way to check for existing record before an insert

    The main table (with potentially millions of records) exists and has data the the BI team reports against. The flatfiles contain data that may or may not already exist...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Best way to check for existing record before an insert

    So the consensus is (please correct me if I'm wrong):

    Dump the contents of each file into a staging table, put an index on the column I want to look up...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

Viewing 15 posts - 1,486 through 1,500 (of 1,583 total)