Forum Replies Created

Viewing 15 posts - 16 through 30 (of 101 total)

  • RE: Anti SQL Injection Function

    The only problem with that is that I can have 4 processes doing exactly the same thing for different customers.

    The global temp table will be hijacked by another process i.e....

  • RE: Anti SQL Injection Function

    I think it was due to the simple fact that

    OBJECT_ID('#table') doesn't find the #table.

    I just found that I can use OBJECT_ID('tempdb.dbo.#table') and that I can safely drop the table...

  • RE: Anti SQL Injection Function

    oh yes... you're right...

    I removed unnecessary complications from the code the 2 first queries insert into unique temporary tables.

    for which the unique number is generated by NEWID().

    To avoid processes...

  • RE: Anti SQL Injection Function

    You're right. I have to find a way to validate every parameter thoroughly before letting it pass.

    I will have to do different functions depending on the type of...

  • RE: Anti SQL Injection Function

    understood. But whitelisting is practically impossible as I would have to list all the table names and columns possible and disregarding the fact that there can be unique temporary...

  • RE: SQLCMD BATCH FILE ERROR

    Check the -Q and -b special behavior when together...

    If -b is specified together with this option (-Q), sqlcmd exits on error. -b is described later in this topic.

  • RE: Anti SQL Injection Function

    Hey Jeff,

    The parameters are tablenames and columns. Right now, a Delphi software (procedure) has the same parameters and does it all withing the program. They want to...

  • RE: Anti SQL Injection Function

    As Hex? hmmm. So How would I protect against that in a Function that parses and whitelists the parameters?

  • RE: In Trigger - Building a dynamic table with inserted data

    Thanks Scott... Didn't think of that one...

    I like it...

    😉

  • RE: Advice on best approach?

    I personally like the Normalized way (no redundant data)

    Have everything organized in separate tables... As for queries, If you have the right structure and indexes, it shouldn't be a problem......

  • RE: SUM Case When (decimal's!)

    what is the field definition of the audit table set as?

  • RE: Procedure with execute as owner - failing

    Thanks for you input.

    I tend to agree with you regarding these 2 maintenance operations but these are existing scheduled operations that we offer in our software. Are they really needed?...

  • RE: Procedure with execute as owner - failing

    Hi Jeff,

    The person that is always logged is the operator (a windows user which is already logged in), part of the Operators (windows group).

    We don't have their login or password......

  • RE: Procedure with execute as owner - failing

    I was able to get it work...

    All that was missing was:

    ALTER Database MYDB Set TrustWorthy ON;

    By setting it on, the Operator group is now able to Run the...

  • RE: Security issue?

    Fair Enough...

    I thought there would maybe be a command like in MySQL's "Flush-privileges" to refresh the changes done to a user.

    Thank you for your response.

Viewing 15 posts - 16 through 30 (of 101 total)