Forum Replies Created

Viewing 15 posts - 31 through 45 (of 237 total)

  • RE: Native C# in Stored Procedures

    Funny!

    Sad really though that they can't at least let you script in .net languages.

    I suppose there are some trusted/untrusted code issues to resolve.

    Postgres has had extensions for other languages...

  • RE: A Quick Tour of sp_ExecuteSQL

    Daniel Brink (2/24/2014)


    Nice article. I'm still working on writing my first technical article. It's a bit of a daunting task, but I'm getting there.

    Regarding sp_ExecuteSQL: Dynamic SQL is one of...

  • RE: Finding “Active” Rows for the Previous Month (SQL Spackle)

    Wow thanks for what was effectively part 2 in this spackle 🙂 You've written an article in its own right to answer my question and I am very grateful, as...

  • RE: Finding “Active” Rows for the Previous Month (SQL Spackle)

    Thanks for the Spackle Jeff, I always read your articles.

    Just thinking a bit further, is the clustered index enough to really take advantage of those end and start date intersections?...

  • RE: HASHBYTES

    Mighty (1/21/2014)


    Interesting question, however, I don't understand why the "LEFT JOIN"-construction was used.

    Distracts a little bit from what was the essential part of the question.

    Left join... Where a column...

  • RE: Mastering Dimensions of Time

    raulggonzalez (1/21/2014)


    davoscollective (1/21/2014)


    Ah yes you are correct, my mistake, the maxrecursion 0 removes the limit. I agree, go for the better performing code. It is one statement, but internally it...

  • RE: Mastering Dimensions of Time

    Ah yes you are correct, my mistake, the maxrecursion 0 removes the limit. I agree, go for the better performing code. It is one statement, but internally it is still...

  • RE: Mastering Dimensions of Time

    raulggonzalez (1/21/2014)


    PHYData DBA (1/20/2014)There might be several other ways of doing this without using a Row By Row script. We could not find one that was as easy to read...

  • RE: Fun with Outer Joins

    "Mr Pepper" ? Surely that's the only real Doctor present.

    I found this thread both amusing and enlightening on many levels.

  • RE: DAX Query Basics

    Thanks for the great article.

    I suppose for SQL people it might look unreadable but I found your examples very easy to understand. There's a clear nested structure

    Evaluate<-Rows<-Row functions etc

    I...

  • RE: replacement of format(0,"percent") in SQL

    Lowell (3/10/2009)


    not built in , no; typically formatting is left for the presentation layer, like vb;

    you can do something pretty close:

    declare @val decimal (12,6)

    set @val =...

  • RE: Querying SSAS with TSQL

    tjcavins (4/26/2012)

    My DB and Analysis Server are on the same machine so I don't need a linked server. All examples I've seen require a linked server and use OPENQUERY

    I realise...

  • RE: How to Design, Build and Test a Dynamic Search Stored Procedure

    dwain.c (11/6/2013)


    davoscollective (11/6/2013)


    odeddror (11/5/2013)


    What about

    execute [dbo].[Shipment_Tracking] @CustID = 'Apple', @ReferenceNo = null

    Will give all record regardless null

    Thanks,

    Oded Dror

    Are you trying to return only records where ReferenceNo IS null?

    Imagine...

  • RE: How to Design, Build and Test a Dynamic Search Stored Procedure

    odeddror (11/5/2013)


    What about

    execute [dbo].[Shipment_Tracking] @CustID = 'Apple', @ReferenceNo = null

    Will give all record regardless null

    Thanks,

    Oded Dror

    Are you trying to return only records where ReferenceNo IS null?

    Imagine this is...

  • RE: How to Design, Build and Test a Dynamic Search Stored Procedure

    Great article, thanks for sharing. I've used similar constructs for flexible SSRS reports. I learned a few nice tricks, I particularly like the @debug and the line numbers, very nice.

    Based...

Viewing 15 posts - 31 through 45 (of 237 total)