This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script> | |
$ = ~[];$={___:++$,$$$$:(![]+"")[$],__$: ++$,$_$_:(![]+"")[$],_$_:++$,$_$$: | |
({} + "")[$],$$_$:($[$] + "")[$],_$$: ++$,$$$_:(!"" + "")[$],$__:++$,$_$: | |
++$,$$__:({}+"")[$],$$_:++$,$$$:++$,$___: ++$,$__$:++$,$__$__$:(++$[$]+"") | |
[0]};$.$_=( $.$_ = $ + "" )[$.$_$]+($._$=$.$_[$.__$])+( $.$$ =($.$+"") | |
[$.__$])+(!$ +"") | |
[$._$$]+( $.__=$.$_[$.$$_])+($.$=(!""+"")[$.__$]) + ($._= | |
(!"" +"" )[$._$_]) + $.$_[$.$_$]+$.__+$._$+ $.$;$.$$=$.$+(!""+"" )[$._$$] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- max, output, readonly are NOT reserved keywords. | |
-- Type names are not reserved: following column names are legal. | |
create table tTestLMax( max int, output int, readonly int, int int, datetime int ); | |
select max, output, readonly, int, datetime from tTestLMax; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Then statement of a if can be terminated by ; | |
if 0 = 1 print 'boo'; | |
else print 'murf'; | |
-- ; can appear after a end. Any number of times (empty statements). | |
if 0 = 1 | |
begin | |
print 'boo'; | |
end; | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select [ ]=1, [Val] = '0', Type = cast(sql_variant_property(0,'BaseType') as varchar(20)), [Precision]=cast(sql_variant_property(0,'Precision') as varchar(20)), [Scale]= cast(sql_variant_property(0,'Scale') as varchar(20)), [MaxLength] = cast(sql_variant_property(0,'MaxLength') as varchar(20)) | |
union | |
select 2, '35', cast(sql_variant_property(35,'BaseType') as varchar(20)), cast(sql_variant_property(35,'Precision') as varchar(20)), cast(sql_variant_property(35,'Scale') as varchar(20)), [MaxLength] = cast(sql_variant_property(35,'MaxLength') as varchar(20)) | |
union | |
select 3, '''str''', cast(sql_variant_property('str','BaseType') as varchar(20)), cast(sql_variant_property('str','Precision') as varchar(20)), cast(sql_variant_property('str','Scale') as varchar(20)), [MaxLength] = cast(sql_variant_property('str','MaxLength') as varchar(20)) | |
union | |
select 4, 'N''str''', cast(sql_variant_property(N'str','BaseType') as varchar(20)), cast(sql_variant_property(N'str','Precision') as varchar(20)), cast(sql_variant_proper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This can be executed (star comments may occur between name parts). | |
create view [dbo]/*C1*/./*C2*/vTest | |
as | |
select * from sys.tables; | |
GO | |
-- The view is correctly created... | |
select * from dbo.vTest; | |
select * from dbo/*C*/./*C*/vTest; | |
GO | |
-- But... this is what is generated :-). |
NewerOlder