sqlserver-10078778.js.map 3.8 KB

1
  1. {"version":3,"file":"sqlserver-10078778.js","sources":["../../node_modules/ace-builds/src-noconflict/snippets/sqlserver.js"],"sourcesContent":["ace.define(\"ace/snippets/sqlserver.snippets\",[\"require\",\"exports\",\"module\"], function(require, exports, module){module.exports = \"# ISNULL\\nsnippet isnull\\n\\tISNULL(${1:check_expression}, ${2:replacement_value})\\n# FORMAT\\nsnippet format\\n\\tFORMAT(${1:value}, ${2:format})\\n# CAST\\nsnippet cast\\n\\tCAST(${1:expression} AS ${2:data_type})\\n# CONVERT\\nsnippet convert\\n\\tCONVERT(${1:data_type}, ${2:expression})\\n# DATEPART\\nsnippet datepart\\n\\tDATEPART(${1:datepart}, ${2:date})\\n# DATEDIFF\\nsnippet datediff\\n\\tDATEDIFF(${1:datepart}, ${2:startdate}, ${3:enddate})\\n# DATEADD\\nsnippet dateadd\\n\\tDATEADD(${1:datepart}, ${2:number}, ${3:date})\\n# DATEFROMPARTS \\nsnippet datefromparts\\n\\tDATEFROMPARTS(${1:year}, ${2:month}, ${3:day})\\n# OBJECT_DEFINITION\\nsnippet objectdef\\n\\tSELECT OBJECT_DEFINITION(OBJECT_ID('${1:sys.server_permissions /*object name*/}'))\\n# STUFF XML\\nsnippet stuffxml\\n\\tSTUFF((SELECT ', ' + ${1:ColumnName}\\n\\t\\tFROM ${2:TableName}\\n\\t\\tWHERE ${3:WhereClause}\\n\\t\\tFOR XML PATH('')), 1, 1, '') AS ${4:Alias}\\n\\t${5:/*https://msdn.microsoft.com/en-us/library/ms188043.aspx*/}\\n# Create Procedure\\nsnippet createproc\\n\\t-- =============================================\\n\\t-- Author:\\t\\t${1:Author}\\n\\t-- Create date: ${2:Date}\\n\\t-- Description:\\t${3:Description}\\n\\t-- =============================================\\n\\tCREATE PROCEDURE ${4:Procedure_Name}\\n\\t\\t${5:/*Add the parameters for the stored procedure here*/}\\n\\tAS\\n\\tBEGIN\\n\\t\\t-- SET NOCOUNT ON added to prevent extra result sets from interfering with SELECT statements.\\n\\t\\tSET NOCOUNT ON;\\n\\t\\t\\n\\t\\t${6:/*Add the T-SQL statements to compute the return value here*/}\\n\\t\\t\\n\\tEND\\n\\tGO\\n# Create Scalar Function\\nsnippet createfn\\n\\t-- =============================================\\n\\t-- Author:\\t\\t${1:Author}\\n\\t-- Create date: ${2:Date}\\n\\t-- Description:\\t${3:Description}\\n\\t-- =============================================\\n\\tCREATE FUNCTION ${4:Scalar_Function_Name}\\n\\t\\t-- Add the parameters for the function here\\n\\tRETURNS ${5:Function_Data_Type}\\n\\tAS\\n\\tBEGIN\\n\\t\\tDECLARE @Result ${5:Function_Data_Type}\\n\\t\\t\\n\\t\\t${6:/*Add the T-SQL statements to compute the return value here*/}\\n\\t\\t\\n\\tEND\\n\\tGO\";\n\n});\n\nace.define(\"ace/snippets/sqlserver\",[\"require\",\"exports\",\"module\",\"ace/snippets/sqlserver.snippets\"], function(require, exports, module){\"use strict\";\nexports.snippetText = require(\"./sqlserver.snippets\");\nexports.scope = \"sqlserver\";\n\n}); (function() {\n ace.require([\"ace/snippets/sqlserver\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n "],"names":["require","exports","module","m"],"mappings":"gaAAA,IAAI,OAAO,kCAAkC,CAAC,UAAU,UAAU,QAAQ,EAAG,SAASA,EAASC,EAASC,EAAO,CAACA,EAAO,QAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAEjI,CAAC,EAED,IAAI,OAAO,yBAAyB,CAAC,UAAU,UAAU,SAAS,iCAAiC,EAAG,SAASF,EAASC,EAASC,EAAO,CACxID,EAAQ,YAAcD,EAAQ,sBAAsB,EACpDC,EAAQ,MAAQ,WAEhB,CAAC,EAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,wBAAwB,EAAG,SAASE,EAAG,CACeD,IAC3DA,EAAA,QAAiBC,EAE7C,CAAqB,CACrB","x_google_ignoreList":[0]}