Forum Replies Created

Viewing 15 posts - 166 through 180 (of 1,353 total)

  • RE: Why QUOTENAME is important

    Thom A - Wednesday, August 15, 2018 7:42 AM

    RonKyle - Wednesday, August 15, 2018 7:27 AM

    August 15, 2018 at 7:52 am

    #2001868

  • RE: Replace-Function

    t.franz - Wednesday, August 15, 2018 2:45 AM

    Here a version, which uses selfreferencing CTEs:

    CREATE TABLE dbo.synonym (synonym VARCHAR(50) NULL, word...

  • RE: Why QUOTENAME is important

    Perry Whittle - Wednesday, August 15, 2018 12:11 AM

    Good article, important to remember a simple check of permissions catches sql injection. Why...

  • RE: Using case logic in SSIS

    I don't know about SSIS

    SSIS is very picky.  Just about, if not everything, has to be stated explicitly.  I'm certain I had to do the CASE statement...

  • RE: Replace-Function

    If you want to work with your dbo.synonym (instead of nested REPLACEs) you should create a inline table value function, which uses a self referencing CTE.

    This...

  • RE: Why QUOTENAME is important

    Thom A - Monday, August 13, 2018 9:08 AM

    Luis Cazares - Monday, August 13, 2018 7:34 AM

  • RE: Why QUOTENAME is important

    Why did you use a sysname data type in your example?  I've used this approach before, but the variables where char or varchar with not too long a length, e.g. @TableName...

  • RE: The TSB disaster: Where were the grown-ups?

    However, in banking processes, I'm a conservative who grips thedepartment's computer manual with whited knuckles. The consequences of errorare so dire, and the complexity is...

  • RE: I'm Not a Lawyer, But...

    There must be some valid need that overrides the public knowledge rights.

    That's quite a wrinkle.  Who decides that?  I can't imagine what valid need an individual might...

  • RE: Using case logic in SSIS

    I've had to deal with this before:

    CASE Withdrawal WHEN TRUE THEN 1 ELSE 0 END AS Column_Name

  • RE: I'm Not a Lawyer, But...

    Oh, I'm not practicing law or offering legal advice.

    Didn't think you were.  I was talking about DBAs reading the law and then deciding what was appropriate.  Reading "Legalese"...

  • RE: I'm Not a Lawyer, But...

    Having had to read legal stuff from time to time, it's fine to read it.  I read SCOTUS decisions, but not as part of my job.  There are terms that...

  • RE: Converting a COALESCE statement to varchar

    drew.allen - Monday, July 30, 2018 2:08 PM

    jcelko212 32090 - Monday, July 30, 2018 1:59...

  • RE: Fact-and-Dimension vs Storing Character Values

    Great point, and yes I will be converting the datetime to an Int and storing a YYYYMMDD integer representation of the date

    A smallint is normally sufficient. 

  • RE: Fact-and-Dimension vs Storing Character Values

    the data warehouse won't grow much

    This part doesn't sound correct.  I'm a big fan of views in a DW environment.  But as the fact table will add a...

Viewing 15 posts - 166 through 180 (of 1,353 total)