-- Copyright (c) 2015 gutlib.com - All rights reserved. Terms are in gutlib.sql
-- You are NOT ALLOWED to modify and/or use this code without author permission

if object_id('g.const') is null
   exec('create view g.const as select name = ''''')
go
alter view g.const as
   select
       true = convert(bit,1)
      ,false = convert(bit,0)
      ,crlf = char(13) + char(10)
      ,str = convert(nvarchar(max),null)
      --convert(varbinary(1),'FF',2) = convert(varbinary(2),'0xFF',1) = 0xFF

go
if g.debugging() = 1
   select * from g.const
