home *** CD-ROM | disk | FTP | other *** search
/ Internet Pratica / IPRAT_01.iso / SQL / advanced / aqt3.CAB / sqlserver.cfg < prev    next >
Text File  |  2001-09-09  |  19KB  |  273 lines

  1. 'noparms
  2. menu1;&Show;
  3. &Tables;1;2;T;Y;
  4. &Views;3;3;V;Y;
  5. &System Tables;4;4;T;Y;
  6. T&riggers;5;5;G;Y;
  7. &Procedures;9;9;B;Y;
  8. &Rules/Domains;8;8;M;Y;
  9. &Defaults;6;11;D;Y;
  10. &Users and Roles;1;7;U;N;
  11. Logins;1;12;E;N;
  12.  
  13. menu2;1;Table &List;
  14.  
  15. menu2;2;Table &List;
  16. Name;11;
  17. Object Id;32;
  18.  
  19. menu2;3;View &List;
  20. Name;12;
  21. Object Id;33;
  22.  
  23. menu2;4;Table &List;
  24. Name;37;
  25. Object Id;40;
  26.  
  27. menu2;5;Trigger &List;
  28. Name;14;
  29. Object Id;36;
  30.  
  31. menu2;6;&Index list;
  32. Description;18;
  33.  
  34. menu2;7;&User List;
  35. Users and Roles;7;
  36. Users only;10;
  37. Roles only;13;
  38.  
  39. menu2;8;&Rules List;
  40. Name;18;
  41. Object Id;44;
  42.  
  43. menu2;9;&Procedure List;
  44. Name;17;
  45. Object Id;45;
  46.  
  47. menu2;11;Default &List;
  48. Name;19;
  49. Object Id;20;
  50.  
  51. menu2;12;Logins;
  52. Logins;15;
  53.  
  54. menu3;1;Table/View &Info;
  55. &Columns;22;
  56. &Default Values;25;
  57. &Column Rules/Domains;63;7;
  58. &Constraints;52;
  59. -;1;
  60. &Full Detail;23;
  61. &Indexes;53;4;
  62. &Access List;21;3;
  63. -;1;
  64. &Show Contents (first 30 rows);34;
  65. -;1;
  66. &Objects Referenced by;50;2;
  67. Objects &Referencing;51;2;
  68. -;1;
  69. &Triggers on Table;31;5;
  70. -;1;
  71. &Referenced Tables;24;1;
  72. &Dependent Tables;42;1;
  73. -;1;
  74. &View Definition;30;
  75. View Definition (&formatted);29;
  76.  
  77. menu3;2;Table &Info;
  78. &Columns;22;
  79. &Default Values;25;
  80. &Column Rules/Domains;63;7;
  81. &Constraints;52;
  82. -;1;
  83. &Full Detail;23;
  84. &Indexes;53;4;
  85. &Access List;21;3;
  86. -;1;
  87. &Table Contents (first 30 rows);34;
  88. -;1;
  89. Objects &Referencing;51;2;
  90. Tri&ggers on Table;31;5;
  91. -;1;
  92. &Referenced Tables (Foreign Keys);24;8;
  93. &Dependent Tables;42;8;
  94.  
  95. menu3;3;View &Info;
  96. &Columns;22;
  97. -;1;
  98. &Full Detail;23;
  99. &Access List;21;3;
  100. -;1;
  101. &Show Contents (first 30 rows);34;
  102. -;1;
  103. &Objects Referenced by;50;2;
  104. Objects &Referencing;51;2;
  105. -;1;
  106. &View Definition;30;
  107. View Definition (&formatted);29;
  108. View as &Query;69;
  109.  
  110. menu3;4;Table &Info;
  111. &Columns;22;
  112. -;1;
  113. &Full Detail;23;
  114. &Indexes;53;4;
  115. &Access List;21;3;
  116. -;1;
  117. &Table Contents (first 30 rows);34;
  118. -;1;
  119. Objects &Referencing;51;2;
  120.  
  121. menu3;5;Trigger &Info;
  122. &Base Table;64;8;
  123. &Trigger Text;26;
  124. &Full Detail;23;
  125. -;1;
  126. &Objects Referenced by;50;2;
  127.  
  128. menu3;6;&Index Info;
  129. &Index Details;39;
  130.  
  131. menu3;7;User &Info;
  132. &Table authorities;49;1;
  133. Table Access &Grid;56;1;
  134. &Procedure authorities;58;9;
  135. -;1;
  136. &Full Detail;67;
  137. -;1;
  138. &Users with Role;54;3;
  139. &Roles for user;55;3;
  140. -;1;
  141. &Login for user;68;10;
  142.  
  143. menu3;8;Rule &Info;
  144. Rule &Text;26;
  145. &Full Details;23;
  146. -;1;
  147. Columns using Rule;61;8;
  148.  
  149. menu3;9;&Procedure Info;
  150. Procedure &Text;28;
  151. &Parameters;70;
  152. &Full Detail;23;
  153. Access List;59;3;
  154. -;1;
  155. &Objects Referenced by;50;2;
  156. Objects &Referencing;51;2;
  157. -;1;
  158. Procedure &Sections;57;6;
  159.  
  160. menu3;10;&Procedure Section;
  161. Procedure &Text;48;
  162. &Parameters;62;
  163.  
  164. menu3;11;Default &Info;
  165. Default &Text;26;
  166. &Full Detail;23;
  167. -;1;
  168. Columns using Default;65;8;
  169.  
  170. menu3;12;Logins;
  171. Details;46;
  172. User;47;3;
  173.  
  174. menu4;1;1;Z;
  175. menu4;2;2;T;3;U;
  176. menu4;2;4;T;3;S;
  177. menu4;2;3;V;3;V;
  178. menu4;2;5;G;3;TR;
  179. menu4;2;9;B;3;P;
  180. menu4;2;9;B;3;X;
  181. menu4;3;7*;U;
  182. menu4;4;6@;I;
  183. menu4;5;5;G;
  184. menu4;6;10@;B;
  185. menu4;7;8;D;
  186. menu4;8;2;T;
  187. menu4;9;9;B;
  188. menu4;10;12;E;
  189.  
  190. queries;
  191. 1;M;Tables within Database;Select distinct b.name,b.uid from dbo.sysobjects a, dbo.sysusers b where a.type = 'U' and a.uid=b.uid order by 1;Owner;1200;Id;1;
  192. 3;M;Views within Database;Select distinct b.name,b.uid from dbo.sysobjects a, dbo.sysusers b where a.type='V' and a.uid=b.uid order by 1;Owner;1200;Id;1;
  193. 4;M;System Tables within Database;Select distinct b.name,b.uid from dbo.sysobjects a, dbo.sysusers b where a.type = 'S' and a.uid=b.uid order by 1;Owner;1200;Id;1;
  194. 5;M;Triggers within Database;Select distinct b.name, b.uid  from dbo.sysobjects a, dbo.sysusers b where a.type='TR' and a.uid=b.uid order by 1;Owner;1200;Id;1;
  195. 6;M;Defaults within Database;Select distinct b.name,b.uid from dbo.sysobjects a, dbo.sysusers b where a.type = 'D' and a.uid=b.uid order by 1;Owner;1200;Id;1;
  196. 7;U;Users/roles within database;Select name, case  when  issqlrole=1 then 'System Role' when  isapprole=1 then 'App Role' else 'User' end,uid from dbo.sysusers order by 1;Id;2200;Type;1800;Id;1;
  197. 8;M;Rules within Database;Select distinct b.name, b.uid from dbo.sysobjects a, dbo.sysusers b where a.type = 'R' and a.uid=b.uid order by 1;Owner;1200;Id;1;
  198. 9;M;Procedures within Database;Select distinct b.name, b.uid from dbo.sysobjects a, dbo.sysusers b where a.type in  ('P','X') and a.uid=b.uid order by 1;Owner;1200;Id;1;
  199. 10;U;Users within database;Select name,uid from dbo.sysusers where issqlrole=0 and isapprole=0 order by 1;User;2500;Id;1;
  200. 11;M1;Tables within Owner;Select a.name, id from dbo.sysobjects a where a.type ='U' and a.uid=? order by 1;Table;2145;Id;1;
  201. 12;M1;Views within Owner;Select a.name, id from dbo.sysobjects a where a.type = 'V' and a.uid=? order by 1;Table;3000;Id;1;
  202. 13;U;Roles within database;Select name,uid from dbo.sysusers where issqlrole=1 or isapprole=1 order by 1;Role;2500;Id;1;
  203. 14;M1;Triggers within Owner;Select name, id from dbo.sysobjects a where type='TR' and uid=? order by 1;Table;3000;Id;1;
  204. 15;M1;Logons for user;Select a.loginname,b.name  ,a.dbname,a.suid from master.dbo.syslogins a left outer join dbo.sysusers b on a.suid=b.suid;Login name;1000;User name in this db;1600;Default database ;1455;Id;1;
  205. 16;M;Users/Groups within Database;Select name from dbo.sysusers order by 1;User Name;1200;Group?;800;
  206. 17;M1;Procedures within Owner;Select name, type,id from dbo.sysobjects a where type in ('P','X') and uid=? order by 1;Procedure;2500;Type;500;Id;1;
  207. 18;M1;Rules within Owner;Select name,id from dbo.sysobjects a where type = 'R' and uid=? order by 1;Rule;3000;Id;1;
  208. 19;M1;Defaults within Owner;Select a.name, id from dbo.sysobjects a where a.type ='D' and a.uid=? order by 1;Default;3000;Id;1;
  209. 20;M1;Defaults within Owner;Select a.name, id from dbo.sysobjects a where a.type ='D' and a.uid=? order by 1;Default;2000;Id;1000;
  210. 21;M1;Access list for;Select user_name(uid), (case action when 193 then 'SELECT' when 195 then 'INSERT' when 196 then 'DELETE' when 197 then 'UPDATE' when 26 then 'REFERENCES' when 224 then 'EXECUTE' end), case protecttype when 204 then 'YES' when 205 then 'NO' when 206 then 'REV' else convert(char,protecttype) end, uid from dbo.sysprotects where id=? ;User;1500;Privilege;1500;Grantable?;1000;Id;1;
  211. 22;C1;Column list for;Select  c.name, t2.name, c.length, c.scale, case c.status & 8 when  8 then 'Y' else 'N' end, case when t.name<>t2.name then t.name else '' end from dbo.syscolumns c, dbo.systypes t, dbo.systypes t2  where  c.usertype=t.usertype and c.id =? and t.type=t2.type and t2.usertype=(select min(usertype) from  dbo.systypes where type=t2.type and usertype>0) order by c.colid,t2.name;Name;2000;Type;1000;Length;600;Scale;500;Nulls;500;User Type;2000;
  212. 23;S1;Full detail of;Select * from dbo.sysobjects where id=?;Column;1500;Value;3000;
  213. 24;M1;Referenced Tables for;Select u.name, o.name, object_name(r.constid), col_name(fkeyid,fkey1)+' '+coalesce(col_name(fkeyid,fkey2),'')+' '+coalesce(col_name(fkeyid,fkey3),'')+' '+coalesce(col_name(fkeyid,fkey4),''), col_name(rkeyid,rkey1)+' '+coalesce(col_name(rkeyid,rkey2),'')+' '+coalesce(col_name(rkeyid,rkey3),'')+' '+coalesce(col_name(rkeyid,rkey4),''),o.id   from dbo.sysreferences r, dbo.sysobjects o, dbo.sysusers u where r.rkeyid=o.id and o.uid=u.uid and r.fkeyid=?;Owner;1500;Referenced Table;1800;Constraint;1000;Cols (FK);1500;PK in Ref Tab;1500;Id;1;
  214. 25;M1;Column Default values for ;Select a.name,c.text, object_name(c.id),c.id from dbo.syscolumns a, dbo.syscomments c where a.cdefault=c.id and c.texttype=2 and c.colid=1 and a.id=?;Column;2000;Default Value;4000;Default Name;1500;Id;1;
  215. 26;X1;Text of ;Select text from dbo.syscomments where id=? and texttype=2 order by colid;Text;4800;
  216. 27;X1;Text of ;Select text from dbo.syscomments where id=? and texttype=2 order by colid;Text;6225;
  217. 28;X1;Text of Procedure;Select text from dbo.syscomments where id=? and texttype=2 order by number,colid;Procedure Text;4245;
  218. 29;V1;Text of View;Select text from dbo.syscomments where id=? and texttype=2 order by colid;View Text;2505;
  219. 30;W1;Text of View;Select text from dbo.syscomments where id=? and texttype=2 order by colid;View Text;5430;
  220. 31;M1;Triggers on Table;Select user_name(b.uid), b.name, (case when b.id=a.deltrig then 'Delete' when  b.id=a.updtrig then 'Update'  when b.id=a.instrig then 'Insert' end ), b.id  from dbo.sysobjects a,  dbo.sysobjects b  where (b.id = a.deltrig or b.id = a.updtrig or b.id=a.instrig)  and a.id=?;Owner;1500;Trigger Name;2000;Event;800;Id;1;
  221. 32;M1;Tables within Owner;Select a.name,id from dbo.sysobjects a where a.type ='U' and a.uid=? order by 1;Table;2000;Id;1000;
  222. 33;M1;Views within Owner;Select a.name,id from dbo.sysobjects a where a.type = 'V' and a.uid=? order by 1;Table;2000;Id;1000;
  223. 34;D;Contents of;unused;Name;1500;
  224. 35;X;Definition of Constraint;Select text from dbo.syscomments where  id = (select id from dbo.sysobjects a, dbo.sysusers b where a.uid=b.uid and b.name='?'  and a.name='?') and texttype=2 order by colid;Constraint Definition;6360;
  225. 36;M1;Triggers within Owner;Select name, id from dbo.sysobjects a where type='TR' and uid=? order by 1;Trigger;2000;Id;1000;
  226. 37;M1;System Tables within Owner;Select name,id from dbo.sysobjects c where type = 'S'  and uid =? order by 1;Table;3000;Id;1;
  227. 38;M;Triggers within Owner;Select name, id,id from dbo.sysobjects a where type='TR' and uid=? order by 1;Table;1200;Desc;2000;
  228. 39;S2;Full details of;Select * from dbo.sysindexes where id=? and indid=?;Column;1200;Value;3000;
  229. 40;M1;System Tables within Owner;Select name, id from dbo.sysobjects where type = 'S'  and uid =? order by 1;Table;2000;Id;1000;
  230. 41;M2;Columns in index;Select  keysl, keys2   from dbo.sysindexes where id=? and indid=?;Keys1;1200;Keys2;1200;
  231. 42;M1;Dependent Tables for;Select u.name, o.name, object_name(r.constid), col_name(rkeyid,rkey1)+' '+coalesce(col_name(rkeyid,rkey2),'')+' '+coalesce(col_name(rkeyid,rkey2),'')+' '+coalesce(col_name(rkeyid,rkey2),''), col_name(fkeyid,fkey1)+' '+coalesce(col_name(fkeyid,fkey2),'')+' '+coalesce(col_name(fkeyid,fkey2),'')+' '+coalesce(col_name(fkeyid,fkey2),''),o.id   from dbo.sysreferences r, dbo.sysobjects o, dbo.sysusers u where r.fkeyid=o.id and o.uid=u.uid and r.rkeyid=?;Owner;1500;Dependent Table;1800;Constraint;1000;Cols (PK);1500;FK in Dep Tab;1500;Id;1;
  232. 43;M1;Parameters for;Select  c.name, t2.name, c.length, c.scale, case c.status & 8 when  8 then 'Y' else 'N' end, case c.status&0x40 when 0 then 'IN' else 'OUT' end, case c.number when 0 then '' else convert(char,c.number) end from dbo.syscolumns c, dbo.systypes t, dbo.systypes t2  where  c.usertype=t.usertype and c.id =? and t.type=t2.type and t2.usertype=(select min(usertype) from  dbo.systypes where type=t2.type and usertype>0) order by c.colid,t2.name;Name;1110;Type;645;Length;600;Scale;525;Nulls;450;Usage;600;Proc Section;1095;
  233. 44;M1;Rules within Owner;Select name, id from dbo.sysobjects a where type = 'R' and uid=? order by 1;Rule;2000;Id;1000;
  234. 45;M1;Procedures within Owner;Select name, type,id from dbo.sysobjects a where type in ('P','X') and uid=? order by 1;Procedure;2000;Type;400;Id;1000;
  235. 46;S1;Full detail of;Select * from master.dbo.syslogins where suid=?;Column;1500;Value;3000;
  236. 47;M1;Login user;Select b.name, a.dbname, b.uid from master.dbo.syslogins a left outer join dbo.sysusers b on a.suid=b.suid where a.suid=?;User name;1500;Default Database;1500;id;1;
  237. 48;X2;Text of Section;Select text from dbo.syscomments where id=? and number=? and texttype=2 order by colid;Section Text;6135;
  238. 49;B1;Table authorities for;Select user_name(o.uid),o.name, (case action when 193 then 'SELECT' when 195 then 'INSERT' when 196 then 'DELETE' when 197 then 'UPDATE' when 26 then 'REFERENCES' when 224 then 'EXECUTE'  end), case protecttype when 204 then 'YES' when 205 then 'NO' when 206 then 'REV' end, user_name(p.grantor), p.id from dbo.sysprotects p, dbo.sysobjects o where p.uid=? and p.id=o.id and o.type in ('S','U','V') order by 1,2,3;Owner;1500;Name;1800;Privilege;1000;Grantable?;900;Granted by;900;Id;1;
  239. 50;M1;Objects referenced by;Select  distinct user_name(o.uid), o.name, o.type,o.id   from dbo.sysdepends d, dbo.sysobjects o  where d.depid=o.id and d.id =?;Owner;1500;Name;2500;Type;800;Id;1;
  240. 51;M1;Objects referencing;Select  distinct user_name(o.uid), o.name, o.type, o.id   from dbo.sysdepends d, dbo.sysobjects o  where d.id=o.id and d.depid =?;Owner;1500;Name;2500;Type;800;Id;1;
  241. 52;M1;Check Constraints on;Select col_name(c.id,c.colid), o.type, object_name(c.constid) from dbo.sysconstraints c, dbo.sysobjects o where  o.id=c.constid and  c.id =?;Column;2000;Type;800;Constraint Name;2000;
  242. 53;M1;Indexes on;Select  i.name, i.indid,  case i.status & 2048 when 2048 then 'Y' end, case i.status & 16 when 16 then 'Y' end ,  case i.status & 2 when 2 then 'Y' end ,  index_col(user_name(o.uid)+'.'+o.name,indid,1), index_col(user_name(o.uid)+'.'+o.name,indid,2), index_col(user_name(o.uid)+'.'+o.name,indid,3),  index_col(user_name(o.uid)+'.'+o.name,indid,4),index_col(user_name(o.uid)+'.'+o.name,indid,5),i.id,indid   from dbo.sysindexes i,dbo.sysobjects o WHERE o.id=i.id and o.id =? and indid between 1 and 254 order by 2;Name;1800;Id;400;PK?;400;Clust?;600;Uniq?;600;Column 1;1500;Column 2;1500;Column 3;1500;Column 4;1500;Column 5;1500;Id;1;Indid;1;
  243. 54;M1;Users with Role;Select name,uid from dbo.sysusers where gid=? order by 1;User;1800;Id;1;
  244. 55;M1;Roles for user;Select b.name, b.uid from dbo.sysusers a, dbo.sysusers b where a.uid=? and a.gid=b.uid order by 1;Role;1800;Id;1;
  245. 56;A1;Table access grid for;Select user_name(o.uid),o.name, (case action when 193 then 'SELECT' when 195 then 'INSERT' when 196 then 'DELETE' when 197 then 'UPDATE' when 26 then 'REFERENCES' when 224 then 'EXECUTE'  end), case protecttype when 204 then 'YES' when 205 then 'NO' when 206 then 'REV' end, user_name(p.grantor), p.id from dbo.sysprotects p, dbo.sysobjects o where p.uid=? and p.id=o.id and o.type in ('S','U','V') order by 1,2,3;Owner;1500;Name;1800;Select;600;Update;700;Insert;600;Delete;600;References;1000;Execute;800;Id;1;
  246. 57;M1;Sections in Procedure;Select distinct number, id , number  from dbo.syscomments where  id=?  order by number;Procedure Section;1500;Id;1;Number;1;
  247. 58;M1;Procedure authorities for;Select user_name(o.uid),o.name, (case action when 193 then 'SELECT' when 195 then 'INSERT' when 196 then 'DELETE' when 197 then 'UPDATE' when 26 then 'REFERENCES' when 224 then 'EXECUTE'  end), case protecttype when 204 then 'YES' when 205 then 'NO' when 206 then 'REV' end, user_name(p.grantor), p.id from dbo.sysprotects p, dbo.sysobjects o where p.uid=? and p.id=o.id and o.type in ('P','X') order by 1,2,3;Owner;1500;Name;1800;Privilege;1000;Grantable?;900;Granted by;900;Id;1;
  248. 59;M1;Access list for;Select user_name(uid), (case action when 193 then 'SELECT' when 195 then 'INSERT' when 196 then 'DELETE' when 197 then 'UPDATE' when 26 then 'REFERENCES' when 224 then 'EXECUTE' end), case protecttype when 204 then 'YES' when 205 then 'NO' when 206 then 'REV' else convert(char,protecttype) end, id from dbo.sysprotects where id=? ;User;1500;Privilege;1200;Grantable?;1000;Id;1;
  249. 60;M1;Column list (simple) for;Select  c.name,t.name, c.length, c.scale, case c.status & 8 when  8 then 'Y' else 'N' end,  ''  from dbo.syscolumns c, dbo.systypes t  where  c.usertype=t.usertype and c.id =? order by c.number, c.colid;Name;2000;Type;800;Length;600;Scale;600;Nulls;600;
  250. 61;M1;Columns using Rule;Select user_name(b.uid),b.name,a.name,a.id from dbo.syscolumns a, dbo.sysobjects b WHERE a.domain=? and a.id=b.id ;Owner;1500;Table;2000;Column;2000;Id;1;
  251. 62;M2;Parameters for section;Select  c.name, t.name, c.length, c.scale, case c.status & 8 when  8 then 'Y' else 'N' end, case c.status&0x40 when 0 then 'IN' else 'OUT' end from dbo.syscolumns c, dbo.systypes t where c.type=t.type and c.usertype=t.usertype and c.id=? and c.number=? order by c.colid;Name;2000;Type;800;Length;600;Scale;600;Nulls;600;Usage;600;
  252. 63;M1;Column Rules for;Select user_name(c.uid),c.name,a.name,b.text,c.id from dbo.syscolumns a,dbo.syscomments b, dbo.sysobjects c  WHERE a.id=? and a.domain=b.id and a.domain=c.id;Owner;1500;Rule Name;1800;Column;1800;Rule Text;2000;Id;1;
  253. 64;M1;Base Table for;Select user_name(b.uid), b.name, (case when b.deltrig = a.id then 'Delete' when b.updtrig= a.id then 'Update'  when b.instrig = a.id then 'Insert' end ), b.id  from dbo.sysobjects a,  dbo.sysobjects b  where (b.deltrig = a.id  or  b.updtrig= a.id or b.instrig = a.id )  and a.id=?;Owner;1500;Table Name;2000;Event;1000;Id;1;
  254. 65;M1;Defaults using Rule;Select user_name(b.uid),b.name,a.name,b.id from dbo.syscolumns a, dbo.sysobjects b WHERE a.cdefault=? and a.id=b.id ;Owner;1500;Table;1800;Column;2000;Id;1;
  255. 66;E;Column list for;Select  c.name, t2.name, c.length, c.scale, case c.status & 8 when  8 then 'Y' else 'N' end, case when t.name<>t2.name then t.name else '' end from dbo.sysusers u, dbo.sysobjects o, dbo.syscolumns c, dbo.systypes t, dbo.systypes t2  where u.name='?' and u.uid=o.uid and o.name='?' and o.id=c.id and  c.usertype=t.usertype and t.type=t2.type and t2.usertype=(select min(usertype) from  dbo.systypes where type=t2.type and usertype>0) order by c.colid,t2.name;Name;2000;Type;800;Length;600;Scale;600;Nulls;600;User Type;1500;
  256. 67;S1;Full details of user;Select * from dbo.sysusers where uid=?;Column;1500;Value;3000;
  257. 68;M1;Login for user;select  a.name, dbname From master.dbo.syslogins a, dbo.sysusers b Where a.suid = b.suid and b.uid=?;Login Name;1500;Default Database;2000;
  258. 69;Q1;View as Query;Select text from dbo.syscomments where id=? and texttype=2 order by colid;View Text;5430;
  259. 70;O;Parameters for;B;Name;2000;Usage;800;Type;600;Nulls;600;
  260.  
  261. func;DATETIME;convert(char,:);char;dateadd(year,1,:);;datediff(day,:,getdate());INT;datename(weekday,:);CHAR;datepart(day,:);INT;day(:);int;month(:);INT;year(:);INT;
  262. func;CHAR;substring(:,1,20);;left(:,5);;right(:,5);;ltrim(:);;rtrim(:);;lower(:);;upper(:);;reverse(:);;convert(int,:);INT;len(:);INT;charindex(:,'x',1);;replace(:,'a','A');;stuff(:,5,1,'.');;
  263. func;TEXT;substring(:,1,20);;
  264. func;INT;str(:);CHAR;abs(:);;sign(:);;
  265. func;DECIMAL;str(:,5,2);CHAR;abs(:);;sign(:);;round(:,2);;abs(:);;sign(:);;ceiling(:);;floor(:);;
  266. func;FLOAT;str(:,5,2);CHAR;abs(:);;sign(:);;round(:,2);;abs(:);;sign(:);;ceiling(:);;floor(:);;
  267.  
  268. const;DATETIME;getdate();convert(datetime,'2001-01-23');
  269. const;CHAR;char(10);repeat('*',5);space(20);user;
  270. const;INT;0;
  271. const;DECIMAL;0;
  272. const;ALL*;getdate();user;host_name();char(10);repeat('*',5);space(20);
  273.