SQL Server vs Oracle relatively simple grammar

        1 , SQL SERVER variables must be @ the beginning.

        2 , SQL SERVER statement does not need to write after the semicolon terminator.

        . 3 , Oracle variable type number can be modified to sql server of decimal

        . 4 , Oracle variable type varchar2 may be modified sql server of varchar

        . 5 , the SQL SERVER definition of variables and parameters passed, preferably together with the size of numerical parameter, for example: VARCHAR (50)

        . 6 , the SQL SERVER can not ROWID, ROWNUM ( but can be used TOP replaced )

        7 , the Oracle in the nvl function in SQL SERVER use in the ISNULL function to replace

        8, SQL SERVER-defined functions are not allowed to modify global data table (table modified from data only within the range defined function), it is best to use the modified table stored procedure occurs instead of a function implemented.







Reproduced in: https: //my.oschina.net/cjkall/blog/195848

Guess you like

Origin blog.csdn.net/weixin_34075268/article/details/91756403