Forum Replies Created

Viewing 13 posts - 271 through 283 (of 283 total)

  • RE: New MySQL Engine Supports T-SQL

    Eric M Russell (4/4/2016)


    Actually there is a fork of MySQL 5.5 that supports ANSI-2011, PL/SQL, and T-SQL 2012. In addition to that, it has distributed scale out capability.

    https://sourceforge.net/projects/mysql_hydra

    You do know...

  • RE: New MySQL Engine Supports T-SQL

    Personally I'm waiting for DB2 on MySQL.

    That doesn't make as much sense, I think. The DB2 database is already available on nearly every platform.

  • RE: New MySQL Engine Supports T-SQL

    Really nice piece. I'll readily admit that I was thoroughly fooled right through the end. And that takes some doing. But I already knew that MySQL supports several different DB...

  • RE: JOIN in date range slow

    You have a few places in your query where you apparently need trimming on join fields:

    UPPER(LTRIM(RTRIM(FIS2_Account_Shared.TD_LEGAL_ENTITY))) = UPPER(LTRIM(RTRIM(FIS2_Acct_Lgl_Ent.MNEMONIC)))

    OR UPPER(LTRIM(RTRIM(FIS2_Account_Shared.TD_LEGAL_ENTITY))) = UPPER('TD SECURITIES CANADA')

    In my limited experience this...

  • RE: DateAdd overflow using Numbers Table

    It's been alluded to in the other posts but the reason why it doesn't stop is because it's a non-SARGable query and you're also thinking in terms of rows (RBAR)...

  • RE: DateAdd overflow using Numbers Table

    The only thing I can think of that would cause this is if you have an unordered table, where n in one of the first rows is too big for...

  • RE: Should I create an SP

    But the try-catch approach is probably the better one. Something like this:

    BEGIN TRY

    INSERT INTO tblCustomer (cid, lName, fName)

    ...

  • RE: Should I create an SP

    Since the majority of the activity is inserts you may also want to investigate something like this:

    INSERT INTO tblCustomer (cid, fName, lName)

    SELECT @cid, @fName, @lName

    WHERE NOT EXISTS (

    SELECT *...

  • RE: Please help - Date Overlapping

    Hi,

    Both of you seem to forget that this is the 2K5 group (SQL Server 2005), which means that fields of type DATE isn't supported (we have to use DATETIME fields)....

  • RE: Left justification output

    What you have is code that will add the necessary leading spaces up to 10. In effect it will leave you with a right-aligned 10 character field.

    It is unnecessarily complicated,...

  • RE: Calculate Power - Most Advanced UOC

    Nah, I don't find it all that comprehensive. Metric conversions seems to be missing. Only imperials there.

    http://en.wikipedia.org/wiki/Conversion_of_units#Energy

  • RE: Calculate Power - Most Advanced UOC

    Maybe he meant "most accurate"?;-)

  • RE: Get month days

    Igor,

    I really think you're overcomplicating it. From my point of view it is much simpler to add one month to the date and then subtract the day number, which brings...

Viewing 13 posts - 271 through 283 (of 283 total)