Forum Replies Created

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

  • RE: SSIS - Package running slowly on server (through execute package) but not when run directly in SSDT.

    I found this thread, because of hitting the exact same behavior. Are there any additional insights?

    My package is simple and follows the outline of the package above. There are...

  • RE: Arithmetic Operation Results

    Declare @a int

    Set @a = 1.0/2.0

    Select @a

    -- returns 0

    Should probably be expected by everybody.

    Declare @b-2 float

    Set @b-2 = 1/2

    Select

  • RE: Arithmetic Operation Results

    Koen Verbeeck (5/27/2015)


    It's quite useful when you don't need the remainder of the division, indeed.

    In all other cases, it's just extremely frustrating 😀

    +1

    When it's needed, it should be accompanied by...

  • RE: Cross Joins

    Didn't realize this was so old. Saw the link on an article in today's newsletter and assumed it was current.

    It seems like your condition using BETWEEN is incorrect and...

  • RE: SQL Injection, Still?

    Okay, I'll pick up the widget...

    SQL injection has been news for an awful long time (prior to 2000). Even so, I remember seeing code that used concatenation of SQL...

  • RE: Review Your Code

    Perhaps its just a figure of speech, but the fixation on firing people for this seems misplaced.

    Surely, coding to prevent SQL Injection is a learned skill, like many others.

    If a...

  • RE: Review Your Code

    Set the amnesty date in 2003 and you'd have to fire some Microsoft programmers. I was shocked to see sample code on the architecture and practices site with concatenated queries...

  • RE: Header row is different than detail row

    Easiest path is probably to switch the file connector to see a single column. Use a Script component and specify it as a transform. The code is very straightforward and...

  • RE: Header row is different than detail row

    Are the column names changing very often? If not, your best bet is probably to ignore the header row and name the columns explicitly. In other words, uncheck Column names...

  • RE: Pair Programming

    I've never been in a formal pair programming environment, but over the years there have been numerous times when getting two heads on a problem just made sense. In fact,...

  • RE: Backup Compression

    lbrigham (7/31/2012)


    Thanks for input, everyone.

    Thomas Abraham (7/31/2012)


    (Bob Brown) (7/31/2012)


    Easy question but I have to learn to read. I picked the one that it wouldn't work on not...

  • RE: NULLIF 1

    Favorite use for NullIf is to prevent a divide by zero:

    Select Miles / Nullif( Hours, 0 ) as Speed

    From SomeTable

    Wasn't thrilled with the formulation of the questions, but I don't...

  • RE: Job History

    We've started using a 2008 R2 server with 2005 client tools. Haven't seen this error, but a couple of similar ones.

    Can't use Open Table, instead must use Select.

    If...

  • RE: Referencing Remote Data

    I've only used synonyms on a couple of occassions. In each case, there were rather involved procedures which accessed tables outside the database -- in one case even outside the...

  • RE: Triggers

    Koen Verbeeck (12/22/2011)


    Andrew Watson-478275 (12/22/2011)


    That's the second or third R2 limits question we've had - I've now got that page on favourites, ready for the next one ;-).

    I always find...

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