Forum Replies Created

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

  • RE: How to Compare Rows within Partitioned Sets to Find Overlapping Dates

    I don't think you're going to find that in BOL, Chris; unless I am mistaken LEAD and LAG are not supported by SQL Server. Oracle uses them to access...

  • RE: The Design Investment

    Round about 1980, I set a design standard for my department, which started with

    DNT ABRV8

  • RE: The Design Investment

    Then there's the DB that WAS designed well, but that person left and various people have been asked to "just add this" in the years since...

  • RE: Data Type and Length

    OTOH I designed our ETL system with [Postcode] [nvarchar](10) and then had to change it when I found records with postcodes like 'If out please leave by back door or...

  • RE: Data Type and Length

    (As someone has re-awakened this subject...)

    Jeff Moden (8/23/2010)


    There is sometimes a HUGE performance penalty (2:1) to be paid for using VARCHAR(MAX) depending, of course, on what you're doing. Correct...

  • RE: Performance testing and tuning for a beginner

    I'd like to endorse what others have said about temp tables.

    I use CTEs a lot, and often they make the query both more legible and faster. But sometimes they...

  • RE: Instrumentation

    I've been doing this for about 10 years; currently with SQL Server 2008/SSIS.

    Most systems I built are basically ETL + Reporting, and are scheduled to run daily to load new...

  • RE: Does MERGE MATCH on current data?

    So basically it divides the data based on the MATCH condition before it does any INSERT/UPDATE/DELETE. Hence the match taking no notice of the changed data values.

    Thanks; I think...

  • RE: Round up or down II

    Odd. I read mail using Thunderbird, which can handle HTML mail well, and the message had lots of other graphics displaying as usual.

    Looking at the message 'source code', I see...

  • RE: Round up or down II

    I got one right, good! (I've used the . myself, usually as 3.0 rather than 3. for - as you say - greater clarity.)

    But something went wrong with the...

  • RE: Data Type and Length

    I got it wrong too. But like many questions here, the answer depends on knowing the many inconsistencies and strange rules in SQL Server - most of which you...

  • RE: SSIS - File System Vs MSDB

    Personally, I like to store the package as files because I can simply ZIP up the whole thing to make a snapshot for version archiving and/or for easy FTP transfer...

  • RE: Calendar Tables

    A question for people re performance.

    As I said above, we use a date table, and as our significant dates are of type [date] (with no time-of-day), we can join ON...

  • RE: Calendar Tables

    I use a date table allowing lookup of Month, Season etc. by date and customer, provided by Marketing! This may sound crazy but it's a good way to deal...

  • RE: SQL Files open in a new SSMS instance

    I've had the same problem; I assume it is normal behaviour when starting SSMS that way.

    What I do is open SSMS first, and let it connect to the server. ...

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