Forum Replies Created

Viewing 15 posts - 211 through 225 (of 429 total)

  • RE: Linked Servers

    'Microsoft OLEDB provider for Oracle' is not supported on 64-bit platforms. The Oracle driver should work fine though. The fact that you are getting "0 rows found"...

  • RE: users - schemas - permissions

    Making your user a member of db_datareader will grant the user read access to the entire database.

    I think you want to remove any role memberships and grant select access just...

  • RE: Error converting data type nvarchar to numeric

    You should definitely read that article, it is very good but the solution presented there only works for integers.

    I think something like this will get you close:

    WHEN ISNUMERIC(Value) = 1...

  • RE: Error converting data type nvarchar to numeric

    IsNumeric indicates if the data can be converted to ANY numeric data type, not just Decimal(19,6).

    For instance, IsNumeric returns a 1 for "2E7", as it could be considered exponential notation....

  • RE: UTC Conversion problem

    The problem with your approach is it doesn't account for the day rolling over to tomorrow when converting to UTC time (the hour goes past midnight).

    I would approach the problem...

  • RE: UTC Conversion problem

    It appears to be adjusting for time zone.

    I'm in Eastern Standard Time (during daylight saving), and the @Start and @End datetime being generated are offset by 4 hours.

    Specifying...

  • RE: Behavior of trigger

    bitbucket-25253 (9/9/2013)


    Now I known why I detest using triggers.

    Yet another reason. What a horrible design decision. :blink:

  • RE: Expressions

    crussell-931424 (8/8/2013)


    Interesting. I didn't realize that nullif is really a case statement and that any function would then get executed multiple times. Of course in this case the function is...

  • RE: Expressions

    Excellent question.

    I'm definitely going to remember this in the future.

  • RE: Integrated Security and AD Group

    As far as I know both are taken into account, with denies taking priority over grants.

    I had this happen accidentally once when I was testing the effects of removing the...

  • RE: TDE Setup

    Whoo, I learned from the last TDE question and got this one right! 😀

  • RE: TDE DR

    OCTom (7/12/2013)


    I must be missing something. I'm sure someone can put me straight. This link says that you need to restore both the DEK and the certificate http://msdn.microsoft.com/en-us/library/bb934049.aspx. I chose...

  • RE: SQL CHOOSE

    Carlo Romagnano (6/19/2013)


    If the statement begins with

    set dateformat ymd,

    the qotd would be perfect.

    and an order by in the select statement. 😉

  • RE: BETWEEN a hard place and a rock

    Nice question Hugo!

    Unfortunately I fell for the trap in the title.

    Evidentally I have more studying to do of the RCS isolation level. :ermm:

  • RE: Deprecation

    Lokesh Vij (6/9/2013)


    Thomas Abraham (6/8/2013)


    Didn't notice the boxes were, well, boxes. So only selected one answer, which appears to be only half the correct answer.

    +1

    Same here, I also marked the...

Viewing 15 posts - 211 through 225 (of 429 total)