Forum Replies Created

Viewing 15 posts - 76 through 90 (of 229 total)

  • RE: XML to SQL tables

    squvi.87 (4/29/2016)


    Any example driven links to learn the xml querying techniques?

    I'll second that !

  • RE: Using reserved words as column names

    ...gotta add the N'{whatever}' to make sure it's nvarchar.

    Ach Soooo ! That's a new one for me. The only time I was using the "N thing" was in something...

  • RE: Using reserved words as column names

    Sioban Krzywicki (4/28/2016)


    I keep trying to convince people that the most secure database would be one where they can't use alphanumeric table and column names. I created one that's all...

  • RE: Building BI from Scratch!

    The C# bit I got from a colleague at the office who has considerably more experience than I do.

    He was referring to the specific cases a dictionary structure so that...

  • RE: How to build a dynamical Query with T-SQL

    delete post

  • RE: EXEC() result as an attribute from another SELECT statement

    First, you can make life easier for yourself by using aliases.

    It is already bad enough that all your column names are in ALL CAPS (shouting ?)*** you can at least...

  • RE: Building BI from Scratch!

    [font="Comic Sans MS"]"Database servers are generally bottlenecked enough as it is ..."[/font]

    That is an all-encompassing statement. Which has its limits.

    Forcing DB servers to disgorge the entire contents of a large...

  • RE: Max value in Case Statements

    All the solutions proposed are interesting.

    However, would it not just be simpler to - as proposed by OP - to just store the MAX(date) into a local variable and simply...

  • RE: Windowing functions vs Non-deterministic ROW-NUMBER()

    drew.allen (4/18/2016)

    [snip]

    ROW_NUMBER() is deterministic as long as the ORDER BY clause is deterministic.

    Alan.B (4/18/2016)

    [snip]

    In other words, when the columns referenced in your the ORDER BY portion of your OVER clause...

  • RE: Varchar usage

    GilaMonster (3/29/2016)


    Space used + 2 bytes.

    ... The longest city name in the world is 176 characters (and that city is usually written with a much shorter name - Bangkok)...

    Just curious...

  • RE: Where to start?

    MadAdmin (4/5/2016)


    In SSMS, Click on

    VIEW\Template Explorer OR Ctrl+Alt+T

    and you will have a list of most stuff.

    So you dont have to remember syntax of how to create table, index,...

  • RE: Querying deadlock graph from SQL Extended Events

    Having never looked at deadlock issues, I find the whole script somewhat hard to digest.

    May I suggest expanding the article to include a short introduction to Extended Events and how...

  • RE: Database Design Follies: NULL vs. NOT NULL

    kenambrose (3/10/2016)


    why do the same flawed arguments keep popping up?

    [[If you deal with a report and want all columns via left joins, then there will be nulls. ]]

    We don't know...

  • RE: Large Table Design Best Practices

    Does not this suggest that legal entities should be in a different table instead of mixing legal and moral persons ?

  • RE: Large Table Design Best Practices

    Sorry guys. Neither of you appear in the other thread.:blush:

    Certainly blew up in my face.

    One lesson about the danger of cross-threading.

Viewing 15 posts - 76 through 90 (of 229 total)