Forum Replies Created

Viewing 15 posts - 556 through 570 (of 5,103 total)

  • RE: %1 Error Message

    Seems like a bad code from a developer or a bad state on the server.

    Do you have any other info?

  • RE: Error 5069 on shrink database

    DBCC CLEANTABLE is your friend. Run it first then Apply your script.

  • RE: Filtering DML Statements

    Although the article shows a simple technique there are many things that were omitted.

    This is NOT a way to handle such things if there are strict requirements from security standpoint.

    1....

  • RE: Trading in xp_cmdshell for SQLCLR (Part 1) - List Directory Contents

    Actually .NET has very robust exception handling abilities, and if you implement them along with TSQL exception handling there shouldn't be problems.

    Right, a missing "catch" in an assembly is a...

  • RE: Trading in xp_cmdshell for SQLCLR (Part 1) - List Directory Contents

    Although SQLCLR has great power I think it is very important to tell the reader that it also brings MANY undesirable things in.

    - Bad Exception handling is just one of...

  • RE: Alternatives for OPENXML???

    I would try with normal temporary tables first instead of table variables.

  • RE: count of consecutive value

    Edward Boyle (2/4/2009)


    I have a somewhat different business application summarized below.

    A table with columns Interval and Value. These represent an activity that occurs at each minute of a 24...

  • RE: SQL Injection

    If you are a

    Hybrid dba

    Then you

    kind of turn the server on.

    kind of make sure the light stays on.

    kind of shout if the light goes off.

    ...

  • RE: SQL Injection

    NotManyPoints (2/4/2009)


    Ok right, so we are staying here then.

    So I'm interested, for the first 6 years (can you give a rough time frame) so we can put that into context...

  • RE: Difference between varchar(max) and varchar(8000)

    By the way, Our product communicate with SQL Server using TDS protocol, we do not really care about how long varchar(max) and nvarchar(max) columns can hold.

    Really ?

    Keep all those buffers...

  • RE: Difference between varchar(max) and varchar(8000)

    Jeff Moden (2/3/2009)


    charlesz (2/2/2009)


    Second, NVarchar(MAX) and Varchar(MAX) can only hold up to 65535 bytes ( The number posted by Gail Shaw was wrong).

    Our product DB-WAN Accel communicates with SQL Server...

  • RE: CASE. Is this a legitimate SQL?

    riga1966 (2/3/2009)


    Figured out myself.

    It should be:

    SELECT

    IG_SRC_SYS_KEY = CASE

    WHEN LEFT(ci.IG_CD,1) = 'D' THEN (SELECT SRC_SYS_KEY FROM SOURCE_SYSTEM_REF WHERE SRC_SYS_ID = 'DDA')

    WHEN LEFT(ci.IG_CD,1) = 'G' THEN (SELECT SRC_SYS_KEY FROM SOURCE_SYSTEM_REF WHERE SRC_SYS_ID...

  • RE: SQL Injection

    NotManyPoints (2/3/2009)


    Trying to work though the icons 😉

    By the way, Are you a dba?

  • RE: SQL 2008 Indexes

    Oh And I have seen *MANY* people using simply db_datareader and db_datawriter.

    You could take those permissions away and then the "entire" DB is inaccessible 🙁

  • RE: SQL 2008 Indexes

    Tom.Thomson (2/3/2009)


    noeld (2/3/2009)


    Actually I have had the need for this feature for a long time.

    Suppose you need to prevent changes on ONE table while you are doing some maintenance...

Viewing 15 posts - 556 through 570 (of 5,103 total)