1 ETQ000 ================================================== 1 ETQ399 Executing SQL script '..\var\MSSUPGGETREL.TSQL'. 2 ETQ399 Connecting to database 'mss'. 4 ETQ010 Date & Time: 20200722140408 3 ETQ398 SQL: if(not exists(select name from sysobjects where name = 3 ETQ398XSQL: 'sap_upg_getrelease' and id = object_id(user_name() + '.' + name, 'P') 3 ETQ398XSQL: )) 3 ETQ398XSQL: exec('create procedure sap_upg_getrelease ( @major varchar(2) output, @middle varchar(2) = NULL output, @minor varchar(4) = NULL 3 ETQ398XSQL: output ) as begin SELECT @major = convert(varchar(2),(@@microsoftversion & 0xFF000000)/0x1000000), @middle = convert(varchar(2),(@@microsoft 3 ETQ398XSQL: version & 0x00FF0000)/0x10000), @minor = convert(varchar(4),(@@microsoftversion & 0x0000FFFF)) if( @major > 9) begin set @major = char(ascii 3 ETQ398XSQL: (''A'') + (@major - 10)) end end') else print 3 ETQ398XSQL: 'procedure ''sap_upg_getrelease'' does already exist.' 1 ETQ000 ================================================== 4 ETQ010 Date & Time: 20200722140408 1 ETQ003 exit code: "0"