Forum Replies Created

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

  • RE: GUIDs GUIDs everywhere, but how is my data unique?

    patrickmcginnis59 10839 (12/19/2014)


    David Rueter (12/18/2014)


    For example, if HTML included something like <a href="getRecord?id=6">Click for details</a> it would be trivial for a malicious user to call "getRecord?id=5" to retrieve data he...

  • RE: GUIDs GUIDs everywhere, but how is my data unique?

    I agree that GUIDs for clustered indexes are a bad idea, and GUIDs for primary keys are not generally ideal. But there is at least one additional consideration that...

  • RE: Practical Uses for Synonyms in SQL Server

    Jason Shadonix (9/11/2014)


    One main difference that jumps out at me is a synonym can be created to point to an object that doesn't exist, where with a view the object...

  • RE: Practical Uses for Synonyms in SQL Server

    Brilliant! Yes, synonyms for vendor-provided tables.

    In fact, a public repository of scripts to create synonyms for common applications could be a great thing:

    Working with Great Plains? Run the...

  • RE: Production Subsets<!-- 864 -->

    Unless there is a compelling reason not to, developing on full production data is best.

    Consider:

    • Comprehensive set of values are needed to test logic

      [p]Simple things like a NULL where you didn't...

  • RE: A Different Hybrid Option

    Initially we used SQL Compare, but have now matured to the point where this all happens natively in T-SQL code.

    Some of the elements of our approach include:

    • Use a...

    • RE: SaaS and Multi-tenancy Models

      Thanks for the article. I especially appreciate the Information Maturity Model graphic. What is the source of that? I find it to be very insightful.

      FYI, I posted...

    • RE: Calculating Elapsed Times (SQL Spackle)

      To display elapsed time as Days Hours:Minutes:Seconds I use a secondsToChar() function I wrote, like this:

      PRINT dbo.secondsToChar(DATEDIFF(second, '2/21/2013 4:43am', '4/2/2013 3:21pm'))

      The result is:

      [highlight="#E0E0E0"]40d 10:38:00[/highlight]

      The function is defined as:

      CREATE FUNCTION [dbo].[secondsToChar]...

    • RE: Geocode Addresses in T-SQL

      Yes, as a matter of fact I do. Here is the CLR source (see below).

      See another article I wrote "Deploying CLR Assemblies with T-SQL[/url]" for one way to deploy...

    • RE: Geocode Addresses in T-SQL

      We're off-topic a bit (not talking about Geocoding any more, but rather calling an arbitrary web service). That's OK...

      When I run your code (with either URL) I am getting:...

    • RE: Rendering PDFs Natively in SQL

      @Phil: 🙂

      Not to belabor the point... but "generation and display of graphic output" sounds like it applies to a PDF...as well as JPG, PNG, HTML, etc. "Rendering" is...

    • RE: Rendering PDFs Natively in SQL

      As @johannconsult's points out, neither this approach nor any other can eliminate malicious tampering with the output. However, using a PDF does discourage tampering more than some...

    • RE: Rendering PDFs Natively in SQL

      Jeff,

      Thanks for chiming in. I'm a big fan of yours and have learned a lot from you.

      FYI, the attached script does in fact check the status of xp_CmdShell and...

    • RE: Re-throw Errors with Logging

      Here is a script that demonstrates an ADO-based approach for logging within a transaction that may later be rolled back.

      This script creates dbo.spLogErrorCommitted and other needed objects, and prints out...

    • RE: Re-throw Errors with Logging

      I haven't measured performance for this specific routine, but I have compared performance between CLR and COM calls in the past (i.e. for retrieving HTML from a remote server).

      CLR is...

    • Viewing 15 posts - 31 through 45 (of 74 total)