Forum Replies Created

Viewing 15 posts - 136 through 150 (of 455 total)

  • RE: Print a nvarchar variable

    Hugo Kornelis (8/13/2015)


    Mighty (8/11/2015)


    Toreador (8/11/2015)


    "however, you have to append in increments with each increment less than or equal to 4000"

    Not true.

    +1

    Not sure where that assumption is coming from. Seems incorrect...

  • RE: Building an Incremental Load Package – Level 3

    Thanks for this series!

    I was recently handed the specs for twenty-five separate flat files and told to build a process to import them into our data warehouse.

    Because of this...

  • RE: Print a nvarchar variable

    I ran into this recently while trying to generate a large number of stored procedures with a common format. Simple workaround:

    DECLARE @Offset INT = 1;

    WHILE LEN(@SQL) >= @Offset

    BEGIN

    ...

  • RE: Best design for OLTP tables

    Here's a thought... If this is a table which needs to support a large number of concurrent writes as quickly as possible, why was one option not a memory-optimized OLTP...

  • RE: Best design for OLTP tables

    DrKiller (8/6/2015)


    I got the answer right, but with the wrong (or different?) theory...

    I was looking at the size of the CHAR value... I figured that because it is lower, it'll...

  • RE: Stairway to SQL Server Security Level 10: Row-Level Security

    Interesting. I recently had to implement row-level security on a reporting where access could be granted in three distinct ways.

    Since all access to the reporting system is via stored...

  • RE: SET vs. SELECT

    vdkolekar (7/21/2015)


    Tricky question

    Sorry I didn't understand it clearly.

    Why both of below queries give Null Values.

    DECLARE @a INT=0;

    DECLARE @b INT=0;

    SET @a = (select 1 where 1=2);

    The subquery here returns an empty...

  • RE: SET vs. SELECT

    Simon Jackson (7/14/2015)


    The answer is right, but I'm not convinced about the reasoning.

    If I replace the SET with SELECT , I get the same result.

    Just from experimenting, it seems to...

  • RE: Who is the odd man out?

    TomThomson (6/29/2015)


    For example CHECKSUM(*) is nondeterministic, despite the fact that it will always return the same value whenever called unless the state of the database has changed between...

  • RE: Storing a Binary File in a Database

    eric.notheisen (5/26/2015)


    Several commenters recommended using the FILESTREAM option rather than use a CLR. The FILESTREAM option stores the BLOB on the file system itself which defeats the purpose of...

  • RE: Global Cursors

    From where can a global cursor be accessed?

    From the unemployment line when it's discovered you're still using cursors, and global ones at that, in this day and age.

    😛

  • RE: Illegal CTEs

    Great. Now I'm trying to conceive of a situation where one would want to use PIVOT within a recursive CTE... :blink:

  • RE: Temp Table Names

    John Mitchell-245523 (4/10/2015)


    Richard Warr (4/10/2015)


    Where it says "116 characters or less" it means "116 characters or fewer" 😉

    I would argue that either is correct. If you interpret "116 characters"...

  • RE: CTE Syntax

    TomThomson (3/30/2015)


    sknox (3/30/2015)


    ZZartin (3/30/2015)


    Let's be honest requiring statement terminators is to make life easier on the developers writing the syntax parser not because there is any inherent value in a...

  • RE: CTE Syntax

    ZZartin (3/30/2015)


    Let's be honest requiring statement terminators is to make life easier on the developers writing the syntax parser not because there is any inherent value in a ;

    That is...

Viewing 15 posts - 136 through 150 (of 455 total)