Forum Replies Created

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

  • Reply To: Are there any free resources/ebooks to develop database design and modeling ?

    The "Stairway" series here are very good. Always worth a read regardless of experience/knowledge. Here are two examples:

    https://www.sqlservercentral.com/steps/stairway-to-data-level-1-the-basics

    https://www.sqlservercentral.com/stairways/stairway-to-database-design

     

     

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Chopping Off Data

    <rant>What's so unforgivable, as a UK tax payer, is that this has cost in the region of £12Billion.

    (I can forgive the users, and the [probably] very small team of actual...

    • This reply was modified 5 years, 7 months ago by david.edwards 76768. Reason: Adding missed punctuation, through ranty typing :)

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: processing a flat file without knowing the name

    Jeff Moden wrote:

    As you see in the PowerPoint presentation in the attached ZIP file, I used to be the same way until I went to work for a company that used...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: processing a flat file without knowing the name

    Jeff Moden wrote:

    8<

    I also have been known to use xp_CmdShell to work some serious magic for things like file prep (especially on CSVs), file handling (find it, use it, move it...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Clustered Indexes on GUIDS, Complex chains of triggers and Heaps

    Jeff Moden wrote:

    Just went through all that code and lordy.

    8<

    Many thanks for taking the time to wade through that lot Jeff, and I hope your blood pressure didn't rise too much...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Clustered Indexes on GUIDS, Complex chains of triggers and Heaps

    Ok, here is DDL from the "persons" table and all six triggers on it. The other tables for incidents, computers, assets etc follow a similar format.

    I have also included DDL...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Clustered Indexes on GUIDS, Complex chains of triggers and Heaps

    Thanks for the interest in this. If I am slow responding, it's not because I have lost interest! I am just checking on this one that I am not infringing...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Clustered Indexes on GUIDS, Complex chains of triggers and Heaps

    Thanks Jeff. Thorough as always! I cited that thread because it's one of the most comprehensive things I've come across on rebuilding/reorganising in various scenarios, so I stuck it in...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Log space 98% free but drive has no space

    Grant Fritchey wrote:

    Be careful of autogrowth here. Also, it's a good idea on any drive with auto-growth enabled, create an file called 'deletemeinemergencies' or similar. Make it big enough, say 20...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Are the posted questions getting worse?

    Thom A wrote:

    Phil Parkin wrote:

    david.edwards 76768 wrote:

    I was seriously considering setting up a consultancy yesterday and offering my services to HM Gov at a fixed fee of £20m to set up a process...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Are the posted questions getting worse?

    Thom A wrote:

    Jeff Moden wrote:

    Wow.  Just WOW!

    It's the fact that the spent £12 billion of tax payers money on that spreadsheet that really annoys me. Glad to...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Splitting a crazy column into two new columns

    rkelly58 wrote:

    thanks Des,

    asked third party aboyut the indexed views, they said absolutely not, will void contract, lol

    8<

    >8

    Wow! that takes their their shonky datatyping and design to a whole new level!...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Splitting a crazy column into two new columns

    Is this the same table that has the weird DateTime column and time as INT column in your recent post?

    Does this third-party database allow creation of Indexed Views?

    If so, might...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Add a Time column and a Date column together?

    Jeff Moden wrote:

    8<

    >8

    Also, just to be sure, the OP stated that they weren't the ones that are responsible for the poor datatyping that you're correctly talking about.  A 3rd party is...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

  • Reply To: Validate field in STaging before loading

    Chris Wooding wrote:

    We do the same as others have mentioned. Load into a table where the columns are wide nvarchar and then validate afterwards. We use TRY_CAST and TRY_PARSE to check...

    "Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it. When we enquire into any subject, the first thing we have to do is to know what books have treated of it. This leads us to look at catalogues, and at the backs of books in libraries."
    — Samuel Johnson
    I wonder, would the great Samuel Johnson have replaced that with "GIYF" now?

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