sqllens 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/THIRD-PARTY-NOTICES.md +31 -6
  2. package/dist/api.d.ts +2 -0
  3. package/dist/api.js +2 -0
  4. package/dist/bigquery/fn-docs.generated.d.ts +2 -0
  5. package/dist/bigquery/fn-docs.generated.js +1704 -0
  6. package/dist/completion/jinja-slot.js +6 -1
  7. package/dist/databricks/fn-docs.generated.d.ts +2 -0
  8. package/dist/databricks/fn-docs.generated.js +3257 -0
  9. package/dist/duckdb/fn-docs.generated.d.ts +2 -0
  10. package/dist/duckdb/fn-docs.generated.js +2051 -0
  11. package/dist/duckdb/fold.js +6 -4
  12. package/dist/ident/fold.d.ts +5 -2
  13. package/dist/ident/fold.js +2 -0
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/infer/types.js +4 -1
  17. package/dist/mysql/fn-docs.generated.d.ts +2 -0
  18. package/dist/mysql/fn-docs.generated.js +1204 -0
  19. package/dist/parse-diagnostics.js +33 -1
  20. package/dist/postgres/fn-docs.generated.d.ts +2 -0
  21. package/dist/postgres/fn-docs.generated.js +2818 -0
  22. package/dist/postgres/fold.js +9 -3
  23. package/dist/postgres/signatures.generated.js +585 -585
  24. package/dist/redshift/fn-docs.generated.d.ts +2 -0
  25. package/dist/redshift/fn-docs.generated.js +1457 -0
  26. package/dist/redshift/fold.js +6 -4
  27. package/dist/sema/resolve.js +3 -1
  28. package/dist/signature/docs.d.ts +16 -0
  29. package/dist/signature/docs.js +47 -0
  30. package/dist/signature/render.d.ts +7 -0
  31. package/dist/signature/render.js +40 -0
  32. package/dist/signature/signature.js +5 -5
  33. package/dist/snowflake/fn-docs.generated.d.ts +2 -0
  34. package/dist/snowflake/fn-docs.generated.js +2461 -0
  35. package/dist/sqlite/fn-docs.generated.d.ts +2 -0
  36. package/dist/sqlite/fn-docs.generated.js +609 -0
  37. package/dist/sqlite/fold.js +5 -7
  38. package/dist/trino/fn-docs.generated.d.ts +2 -0
  39. package/dist/trino/fn-docs.generated.js +1932 -0
  40. package/dist/tsql/fn-docs.generated.d.ts +2 -0
  41. package/dist/tsql/fn-docs.generated.js +1017 -0
  42. package/package.json +1 -1
@@ -0,0 +1,1017 @@
1
+ export const TSQL_FN_DOCS = {
2
+ abs: {
3
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/abs-transact-sql",
4
+ description: "A mathematical function that returns the absolute (positive) value of the specified numeric expression.",
5
+ origin: "vendor-docs",
6
+ },
7
+ acos: {
8
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/acos-transact-sql",
9
+ description: "A function that returns the angle, in radians, whose cosine is the specified float expression.",
10
+ origin: "vendor-docs",
11
+ },
12
+ any_value: {
13
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/any-value-transact-sql",
14
+ description: "The `ANY_VALUE` function returns any (non-`NULL` if possible) value from a group of rows.",
15
+ origin: "vendor-docs",
16
+ },
17
+ app_name: {
18
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/app-name-transact-sql",
19
+ description: "This function returns the application name for the current session, if the application sets that name value.",
20
+ origin: "vendor-docs",
21
+ },
22
+ approx_count_distinct: {
23
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/approx-count-distinct-transact-sql",
24
+ description: "This function returns the approximate number of unique non-null values in a group.",
25
+ origin: "vendor-docs",
26
+ },
27
+ approx_percentile_cont: {
28
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/approx-percentile-cont-transact-sql",
29
+ description: "This function returns an approximate interpolated value from the set of values in a group based on percentile value and sort specification.",
30
+ origin: "vendor-docs",
31
+ },
32
+ approx_percentile_disc: {
33
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/approx-percentile-disc-transact-sql",
34
+ description: "This function returns the value from the set of values in a group based on the provided percentile and sort specification.",
35
+ origin: "vendor-docs",
36
+ },
37
+ ascii: {
38
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/ascii-transact-sql",
39
+ description: "Returns the ASCII code value of the leftmost character of a character expression.",
40
+ origin: "vendor-docs",
41
+ },
42
+ asin: {
43
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/asin-transact-sql",
44
+ description: "A function that returns the angle, in radians, whose sine is the specified **float** expression.",
45
+ origin: "vendor-docs",
46
+ },
47
+ atan: {
48
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/atan-transact-sql",
49
+ description: "A function that returns the angle, in radians, whose tangent is a specified **float** expression.",
50
+ origin: "vendor-docs",
51
+ },
52
+ atn2: {
53
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/atn2-transact-sql",
54
+ description: "Returns the angle, in radians, between the positive x-axis and the ray from the origin to the point (y, x), where x and y are the values of the two specified float expressions.",
55
+ origin: "vendor-docs",
56
+ },
57
+ avg: {
58
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/avg-transact-sql",
59
+ description: "This function returns the average of the values in a group.",
60
+ origin: "vendor-docs",
61
+ },
62
+ base64_decode: {
63
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/base64-decode-transact-sql",
64
+ description: "`BASE64_DECODE` converts a Base64-encoded **varchar** expression into the corresponding **varbinary** expression.",
65
+ origin: "vendor-docs",
66
+ },
67
+ base64_encode: {
68
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/base64-encode-transact-sql",
69
+ description: "`BASE64_ENCODE` converts the value of a **varbinary** expression into a Base64-encoded **varchar** expression.",
70
+ origin: "vendor-docs",
71
+ },
72
+ bit_count: {
73
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/bit-count-transact-sql",
74
+ description: "`BIT_COUNT` takes one parameter and returns the number of bits set to 1 in that parameter as a **bigint** type.",
75
+ origin: "vendor-docs",
76
+ },
77
+ cast: {
78
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/cast-and-convert-transact-sql",
79
+ origin: "vendor-docs",
80
+ },
81
+ ceiling: {
82
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/ceiling-transact-sql",
83
+ description: "This function returns the smallest integer greater than, or equal to, the specified numeric expression.",
84
+ origin: "vendor-docs",
85
+ },
86
+ certencoded: {
87
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/certencoded-transact-sql",
88
+ description: "This function returns the public portion of a certificate in binary format.",
89
+ origin: "vendor-docs",
90
+ },
91
+ char: {
92
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/char-transact-sql",
93
+ description: "Returns the single-byte character with the specified integer code, as defined by the character set and encoding of the default collation of the current database.",
94
+ origin: "vendor-docs",
95
+ },
96
+ charindex: {
97
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/charindex-transact-sql",
98
+ description: "This function searches for one character expression inside a second character expression, returning the starting position of the first expression if found.",
99
+ origin: "vendor-docs",
100
+ },
101
+ checksum_agg: {
102
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/checksum-agg-transact-sql",
103
+ description: "This function returns the checksum of the values in a group.",
104
+ origin: "vendor-docs",
105
+ },
106
+ choose: {
107
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/logical-functions-choose-transact-sql",
108
+ origin: "vendor-docs",
109
+ },
110
+ coalesce: {
111
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/language-elements/coalesce-transact-sql",
112
+ description: "Evaluates the arguments in order and returns the current value of the first expression that initially doesn't evaluate to `NULL`.",
113
+ origin: "vendor-docs",
114
+ },
115
+ col_name: {
116
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/col-name-transact-sql",
117
+ description: "This function returns the name of a table column, based on the table identification number and column identification number values of that table column.",
118
+ origin: "vendor-docs",
119
+ },
120
+ collationproperty: {
121
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/collation-functions-collationproperty-transact-sql",
122
+ description: "This function returns the requested property of a specified collation.",
123
+ origin: "vendor-docs",
124
+ },
125
+ columnproperty: {
126
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/columnproperty-transact-sql",
127
+ description: "This function returns column or parameter information.",
128
+ origin: "vendor-docs",
129
+ },
130
+ columns_updated: {
131
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/columns-updated-transact-sql",
132
+ description: "This function returns a **varbinary** bit pattern indicating the inserted or updated columns of a table or view.",
133
+ origin: "vendor-docs",
134
+ },
135
+ compress: {
136
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/compress-transact-sql",
137
+ description: "This function compresses the input expression, using the **Gzip** algorithm.",
138
+ origin: "vendor-docs",
139
+ },
140
+ concat: {
141
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/concat-transact-sql",
142
+ description: "This function returns a string resulting from the concatenation, or joining, of two or more string values in an end-to-end manner.",
143
+ origin: "vendor-docs",
144
+ },
145
+ concat_ws: {
146
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/concat-ws-transact-sql",
147
+ description: "This function returns a string resulting from the concatenation, or joining, of two or more string values in an end-to-end manner.",
148
+ origin: "vendor-docs",
149
+ },
150
+ connectionproperty: {
151
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/connectionproperty-transact-sql",
152
+ description: "For a request that comes in to the server, this function returns information about the connection properties of the unique connection which supports that request.",
153
+ origin: "vendor-docs",
154
+ },
155
+ context_info: {
156
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/context-info-transact-sql",
157
+ description: "This function returns the **context_info** value either set for the current session or batch, or derived through use of the SET CONTEXT_INFO statement.",
158
+ origin: "vendor-docs",
159
+ },
160
+ convert: {
161
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/cast-and-convert-transact-sql",
162
+ origin: "vendor-docs",
163
+ },
164
+ cos: {
165
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/cos-transact-sql",
166
+ description: "A mathematical function that returns the trigonometric cosine of the specified angle - measured in radians - in the specified expression.",
167
+ origin: "vendor-docs",
168
+ },
169
+ cot: {
170
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/cot-transact-sql",
171
+ description: "A mathematical function that returns the trigonometric cotangent of the specified angle - in radians - in the specified **float** expression.",
172
+ origin: "vendor-docs",
173
+ },
174
+ count: {
175
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/count-transact-sql",
176
+ origin: "vendor-docs",
177
+ },
178
+ crypt_gen_random: {
179
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/crypt-gen-random-transact-sql",
180
+ description: "This function returns a cryptographic, randomly-generated number, generated by the Crypto API (CAPI).",
181
+ origin: "vendor-docs",
182
+ },
183
+ cume_dist: {
184
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/cume-dist-transact-sql",
185
+ description: "For !INCLUDE[ssNoVersion], this function calculates the cumulative distribution of a value within a group of values.",
186
+ origin: "vendor-docs",
187
+ },
188
+ current_request_id: {
189
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/current-request-id-transact-sql",
190
+ description: "This function returns the ID of the current request within the current session.",
191
+ origin: "vendor-docs",
192
+ },
193
+ current_timezone: {
194
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/current-timezone-transact-sql",
195
+ description: "This function returns the name of the time zone observed by a server or an instance.",
196
+ origin: "vendor-docs",
197
+ },
198
+ current_timezone_id: {
199
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/current-timezone-id-transact-sql",
200
+ description: "This function returns the ID of the time zone observed by a server or an instance.",
201
+ origin: "vendor-docs",
202
+ },
203
+ current_transaction_id: {
204
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/current-transaction-id-transact-sql",
205
+ description: "This function returns the transaction ID of the current transaction in the current session.",
206
+ origin: "vendor-docs",
207
+ },
208
+ databasepropertyex: {
209
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/databasepropertyex-transact-sql",
210
+ description: "For a specified database in !INCLUDE [ssNoVersion], the `DATABASEPROPERTYEX` function returns the current setting of the specified database option or property.",
211
+ origin: "vendor-docs",
212
+ },
213
+ datalength: {
214
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/datalength-transact-sql",
215
+ description: "This function returns the number of bytes used to represent any expression.",
216
+ origin: "vendor-docs",
217
+ },
218
+ date_bucket: {
219
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/date-bucket-transact-sql",
220
+ description: "This function returns the date-time value corresponding to the start of each date-time bucket from the timestamp defined by the *origin* parameter, or the default origin value of `1900-01-01 00:00:00.000` if the origin parameter isn't specified.",
221
+ origin: "vendor-docs",
222
+ },
223
+ dateadd: {
224
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/dateadd-transact-sql",
225
+ description: "This function adds a *number* (a signed integer) to a *datepart* of an input *date*, and returns a modified date/time value.",
226
+ origin: "vendor-docs",
227
+ },
228
+ datediff: {
229
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/datediff-transact-sql",
230
+ description: "This function returns the count (as a signed integer value) of the specified datepart boundaries crossed between the specified *startdate* and *enddate*.",
231
+ origin: "vendor-docs",
232
+ },
233
+ datediff_big: {
234
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/datediff-big-transact-sql",
235
+ description: "This function returns the count (as a signed big integer value) of the specified *datepart* boundaries crossed between the specified *startdate* and *enddate*.",
236
+ origin: "vendor-docs",
237
+ },
238
+ datefromparts: {
239
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/datefromparts-transact-sql",
240
+ description: "This function returns a **date** value that maps to the specified year, month, and day values.",
241
+ origin: "vendor-docs",
242
+ },
243
+ datename: {
244
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/datename-transact-sql",
245
+ description: "This function returns a character string representing the specified *datepart* of the specified *date*.",
246
+ origin: "vendor-docs",
247
+ },
248
+ datepart: {
249
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/datepart-transact-sql",
250
+ description: "This function returns an integer representing the specified *datepart* of the specified *date*.",
251
+ origin: "vendor-docs",
252
+ },
253
+ datetime2fromparts: {
254
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/datetime2fromparts-transact-sql",
255
+ description: "This function returns a **datetime2** value for the specified date and time arguments.",
256
+ origin: "vendor-docs",
257
+ },
258
+ datetimefromparts: {
259
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/datetimefromparts-transact-sql",
260
+ description: "This function returns a **datetime** value for the specified date and time arguments.",
261
+ origin: "vendor-docs",
262
+ },
263
+ datetimeoffsetfromparts: {
264
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/datetimeoffsetfromparts-transact-sql",
265
+ description: "Returns a **datetimeoffset** value for the specified date and time arguments.",
266
+ origin: "vendor-docs",
267
+ },
268
+ datetrunc: {
269
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/datetrunc-transact-sql",
270
+ description: "The `DATETRUNC` function returns an input *date* truncated to a specified *datepart*.",
271
+ origin: "vendor-docs",
272
+ },
273
+ day: {
274
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/day-transact-sql",
275
+ description: "This function returns an integer that represents the day (day of the month) of the specified *date*.",
276
+ origin: "vendor-docs",
277
+ },
278
+ db_name: {
279
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/db-name-transact-sql",
280
+ description: "This function returns the name of a specified database.",
281
+ origin: "vendor-docs",
282
+ },
283
+ decompress: {
284
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/decompress-transact-sql",
285
+ description: "This function decompresses an input expression value, using the **Gzip** algorithm.",
286
+ origin: "vendor-docs",
287
+ },
288
+ degrees: {
289
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/degrees-transact-sql",
290
+ description: "This function returns the corresponding angle, in degrees, for an angle specified in radians.",
291
+ origin: "vendor-docs",
292
+ },
293
+ dense_rank: {
294
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/dense-rank-transact-sql",
295
+ description: "This function returns the rank of each row within a result set partition, with no gaps in the ranking values.",
296
+ origin: "vendor-docs",
297
+ },
298
+ difference: {
299
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/difference-transact-sql",
300
+ description: "This function returns an integer value measuring the difference between the SOUNDEX() values of two different character expressions.",
301
+ origin: "vendor-docs",
302
+ },
303
+ edge_id_from_parts: {
304
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/edge-id-from-parts-transact-sql",
305
+ description: "Returns the character representation (JSON) of the edge ID for a given object ID and graph ID.",
306
+ origin: "vendor-docs",
307
+ },
308
+ eomonth: {
309
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/eomonth-transact-sql",
310
+ description: "This function returns the last day of the month containing a specified date, with an optional offset.",
311
+ origin: "vendor-docs",
312
+ },
313
+ error_line: {
314
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/error-line-transact-sql",
315
+ description: "This function returns the line number of occurrence of an error that caused the CATCH block of a TRY...CATCH construct to execute.",
316
+ origin: "vendor-docs",
317
+ },
318
+ error_message: {
319
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/error-message-transact-sql",
320
+ description: "This function returns the message text of the error that caused the CATCH block of a TRY...CATCH construct to execute.",
321
+ origin: "vendor-docs",
322
+ },
323
+ error_number: {
324
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/error-number-transact-sql",
325
+ description: "This function returns the error number of the error that caused the CATCH block of a TRY...CATCH construct to execute.",
326
+ origin: "vendor-docs",
327
+ },
328
+ error_procedure: {
329
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/error-procedure-transact-sql",
330
+ description: "This function returns the name of the stored procedure or trigger where an error occurs, if that error caused the `CATCH` block of a `TRY...CATCH` construct to execute.",
331
+ origin: "vendor-docs",
332
+ },
333
+ error_severity: {
334
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/error-severity-transact-sql",
335
+ description: "This function returns the severity value of the error where an error occurs, if that error caused the `CATCH` block of a `TRY...CATCH` construct to execute.",
336
+ origin: "vendor-docs",
337
+ },
338
+ error_state: {
339
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/error-state-transact-sql",
340
+ description: "Returns the state number of the error that caused the CATCH block of a TRY...CATCH construct to be run.",
341
+ origin: "vendor-docs",
342
+ },
343
+ eventdata: {
344
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/eventdata-transact-sql",
345
+ description: "This function returns information about server or database events.",
346
+ origin: "vendor-docs",
347
+ },
348
+ exp: {
349
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/exp-transact-sql",
350
+ description: "Returns the exponential value of the specified **float** expression.",
351
+ origin: "vendor-docs",
352
+ },
353
+ file_id: {
354
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/file-id-transact-sql",
355
+ description: "For the given logical name for a component file of the current database, this function returns the file identification (ID) number.",
356
+ origin: "vendor-docs",
357
+ },
358
+ file_idex: {
359
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/file-idex-transact-sql",
360
+ description: "This function returns the file identification (ID) number for the specified logical name of a data, log, or full-text file of the current database.",
361
+ origin: "vendor-docs",
362
+ },
363
+ file_name: {
364
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/file-name-transact-sql",
365
+ description: "This function returns the logical file name for a given file identification (ID) number, in the context of the current database.",
366
+ origin: "vendor-docs",
367
+ },
368
+ filegroup_name: {
369
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/filegroup-name-transact-sql",
370
+ description: "This function returns the filegroup name for the specified filegroup identification (ID) number.",
371
+ origin: "vendor-docs",
372
+ },
373
+ filegroupproperty: {
374
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/filegroupproperty-transact-sql",
375
+ description: "This function returns the filegroup property value for a specified name and filegroup value.",
376
+ origin: "vendor-docs",
377
+ },
378
+ fileproperty: {
379
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/fileproperty-transact-sql",
380
+ description: "Returns the specified file name property value when a file name in the current database and a property name are specified.",
381
+ origin: "vendor-docs",
382
+ },
383
+ filepropertyex: {
384
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/filepropertyex-transact-sql",
385
+ description: "Returns the specified extended file property value when a file name in the current database and a property name are specified.",
386
+ origin: "vendor-docs",
387
+ },
388
+ first_value: {
389
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/first-value-transact-sql",
390
+ description: "Returns the first value in an ordered set of values.",
391
+ origin: "vendor-docs",
392
+ },
393
+ floor: {
394
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/floor-transact-sql",
395
+ description: "Returns the largest integer less than or equal to the specified numeric expression.",
396
+ origin: "vendor-docs",
397
+ },
398
+ format: {
399
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/format-transact-sql",
400
+ description: "Returns a value formatted with the specified format and optional culture.",
401
+ origin: "vendor-docs",
402
+ },
403
+ generate_series: {
404
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/generate-series-transact-sql",
405
+ description: "Generates a series of numbers within a given interval.",
406
+ origin: "vendor-docs",
407
+ },
408
+ get_bit: {
409
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/get-bit-transact-sql",
410
+ description: "`GET_BIT` takes two parameters and returns the bit in *expression_value* that is in the offset defined by *bit_offset*.",
411
+ origin: "vendor-docs",
412
+ },
413
+ get_filestream_transaction_context: {
414
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/get-filestream-transaction-context-transact-sql",
415
+ description: "Returns a token that represents the current transaction context of a session.",
416
+ origin: "vendor-docs",
417
+ },
418
+ getdate: {
419
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/getdate-transact-sql",
420
+ description: "Returns the current database system timestamp as a **datetime** value without the database time zone offset.",
421
+ origin: "vendor-docs",
422
+ },
423
+ getutcdate: {
424
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/getutcdate-transact-sql",
425
+ description: "Returns the current database system timestamp as a **datetime** value.",
426
+ origin: "vendor-docs",
427
+ },
428
+ graph_id_from_edge_id: {
429
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/graph-id-from-edge-id-transact-sql",
430
+ description: "Returns the internal graph ID for a given edge ID.",
431
+ origin: "vendor-docs",
432
+ },
433
+ graph_id_from_node_id: {
434
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/graph-id-from-node-id-transact-sql",
435
+ description: "Returns the internal graph ID for a given node ID.",
436
+ origin: "vendor-docs",
437
+ },
438
+ greatest: {
439
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/logical-functions-greatest-transact-sql",
440
+ description: "This function returns the maximum value from a list of one or more expressions.",
441
+ origin: "vendor-docs",
442
+ },
443
+ host_id: {
444
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/host-id-transact-sql",
445
+ description: "Returns the workstation identification number.",
446
+ origin: "vendor-docs",
447
+ },
448
+ host_name: {
449
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/host-name-transact-sql",
450
+ description: "Returns the workstation name.",
451
+ origin: "vendor-docs",
452
+ },
453
+ iif: {
454
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/logical-functions-iif-transact-sql",
455
+ description: "Returns one of two values, depending on whether the Boolean expression evaluates to true or false in !INCLUDE[ssNoVersion].",
456
+ origin: "vendor-docs",
457
+ },
458
+ indexkey_property: {
459
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/indexkey-property-transact-sql",
460
+ description: "Returns information about the index key.",
461
+ origin: "vendor-docs",
462
+ },
463
+ indexproperty: {
464
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/indexproperty-transact-sql",
465
+ description: "Returns the named index or statistics property value of a specified table identification number, index or statistics name, and property name.",
466
+ origin: "vendor-docs",
467
+ },
468
+ isdate: {
469
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/isdate-transact-sql",
470
+ description: "Returns 1 if the *expression* is a valid **datetime** value; otherwise, 0.",
471
+ origin: "vendor-docs",
472
+ },
473
+ isjson: {
474
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/isjson-transact-sql",
475
+ description: "The `ISJSON` syntax tests whether a string contains valid JSON.",
476
+ origin: "vendor-docs",
477
+ },
478
+ isnull: {
479
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/isnull-transact-sql",
480
+ description: "Replaces `NULL` with the specified replacement value.",
481
+ origin: "vendor-docs",
482
+ },
483
+ isnumeric: {
484
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/isnumeric-transact-sql",
485
+ description: "Determines whether an expression is a valid numeric type.",
486
+ origin: "vendor-docs",
487
+ },
488
+ json_contains: {
489
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/json-contains-transact-sql",
490
+ description: "Searches for a SQL value in a path in a JSON document.",
491
+ origin: "vendor-docs",
492
+ },
493
+ json_modify: {
494
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/json-modify-transact-sql",
495
+ description: "The `JSON_MODIFY` syntax updates the value of a property in a JSON string and returns the updated JSON string.",
496
+ origin: "vendor-docs",
497
+ },
498
+ json_path_exists: {
499
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/json-path-exists-transact-sql",
500
+ description: "The `JSON_PATH_EXISTS` syntax tests whether a specified SQL/JSON path exists in the input JSON string.",
501
+ origin: "vendor-docs",
502
+ },
503
+ json_value: {
504
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/json-value-transact-sql",
505
+ description: "Use the `JSON_VALUE` syntax to extract a scalar value from a JSON string.",
506
+ origin: "vendor-docs",
507
+ },
508
+ lag: {
509
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/lag-transact-sql",
510
+ description: "Accesses data from a previous row in the same result set without the use of a self-join starting with !INCLUDE[ssSQL11].",
511
+ origin: "vendor-docs",
512
+ },
513
+ last_value: {
514
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/last-value-transact-sql",
515
+ description: "Returns the last value in an ordered set of values.",
516
+ origin: "vendor-docs",
517
+ },
518
+ lead: {
519
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/lead-transact-sql",
520
+ description: "Accesses data from a subsequent row in the same result set without the use of a self-join starting with !INCLUDE [ssSQL11].",
521
+ origin: "vendor-docs",
522
+ },
523
+ least: {
524
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/logical-functions-least-transact-sql",
525
+ description: "This function returns the minimum value from a list of one or more expressions.",
526
+ origin: "vendor-docs",
527
+ },
528
+ left: {
529
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/left-transact-sql",
530
+ description: "Returns the left part of a character string with the specified number of characters.",
531
+ origin: "vendor-docs",
532
+ },
533
+ left_shift: {
534
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/left-shift-transact-sql",
535
+ description: "`LEFT_SHIFT` takes two parameters, and returns the first parameter bit-shifted left by the number of bits specified in the second parameter.",
536
+ origin: "vendor-docs",
537
+ },
538
+ len: {
539
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/len-transact-sql",
540
+ description: "Returns the number of characters of the specified string expression, excluding trailing spaces.",
541
+ origin: "vendor-docs",
542
+ },
543
+ log: {
544
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/log-transact-sql",
545
+ description: "Returns the natural logarithm of the specified **float** expression in !INCLUDE[ssNoVersion].",
546
+ origin: "vendor-docs",
547
+ },
548
+ log10: {
549
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/log10-transact-sql",
550
+ description: "Returns the base-10 logarithm of the specified **float** expression.",
551
+ origin: "vendor-docs",
552
+ },
553
+ lower: {
554
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/lower-transact-sql",
555
+ description: "Returns a character expression after converting uppercase character data to lowercase.",
556
+ origin: "vendor-docs",
557
+ },
558
+ ltrim: {
559
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/ltrim-transact-sql",
560
+ description: "Returns a character string after truncating all leading spaces.",
561
+ origin: "vendor-docs",
562
+ },
563
+ max: {
564
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/max-transact-sql",
565
+ description: "Returns the maximum of all values of the specified expression in a group.",
566
+ origin: "vendor-docs",
567
+ },
568
+ min: {
569
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/min-transact-sql",
570
+ description: "Returns the minimum of all values of the specified expression in a group.",
571
+ origin: "vendor-docs",
572
+ },
573
+ min_active_rowversion: {
574
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/min-active-rowversion-transact-sql",
575
+ description: "Returns the lowest active **rowversion** value in the current database.",
576
+ origin: "vendor-docs",
577
+ },
578
+ month: {
579
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/month-transact-sql",
580
+ description: "Returns an integer that represents the month of the specified *date*.",
581
+ origin: "vendor-docs",
582
+ },
583
+ nchar: {
584
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/nchar-transact-sql",
585
+ description: "Returns the Unicode character with the specified integer code, as defined by the Unicode standard.",
586
+ origin: "vendor-docs",
587
+ },
588
+ newid: {
589
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/newid-transact-sql",
590
+ description: "Creates a unique value of type **uniqueidentifier**.",
591
+ origin: "vendor-docs",
592
+ },
593
+ newsequentialid: {
594
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/newsequentialid-transact-sql",
595
+ description: "Creates a GUID that is greater than any GUID previously generated by this function on a specified computer since Windows was started.",
596
+ origin: "vendor-docs",
597
+ },
598
+ node_id_from_parts: {
599
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/node-id-from-parts-transact-sql",
600
+ description: "Returns the character representation (JSON) of the node ID for a given object ID and graph ID.",
601
+ origin: "vendor-docs",
602
+ },
603
+ ntile: {
604
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/ntile-transact-sql",
605
+ description: "Distributes the rows in an ordered partition into a specified number of groups.",
606
+ origin: "vendor-docs",
607
+ },
608
+ nullif: {
609
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/language-elements/nullif-transact-sql",
610
+ origin: "vendor-docs",
611
+ },
612
+ object_definition: {
613
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/object-definition-transact-sql",
614
+ description: "Returns the !INCLUDE[tsql] source text of the definition of a specified object.",
615
+ origin: "vendor-docs",
616
+ },
617
+ object_id_from_edge_id: {
618
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/object-id-from-edge-id-transact-sql",
619
+ description: "Returns the object ID for a given graph edge ID.",
620
+ origin: "vendor-docs",
621
+ },
622
+ object_id_from_node_id: {
623
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/object-id-from-node-id-transact-sql",
624
+ description: "Returns the object ID for a given graph node ID.",
625
+ origin: "vendor-docs",
626
+ },
627
+ object_name: {
628
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/object-name-transact-sql",
629
+ description: "Returns the database object name for schema-scoped objects.",
630
+ origin: "vendor-docs",
631
+ },
632
+ object_schema_name: {
633
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/object-schema-name-transact-sql",
634
+ description: "Returns the database schema name for schema-scoped objects.",
635
+ origin: "vendor-docs",
636
+ },
637
+ objectproperty: {
638
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/objectproperty-transact-sql",
639
+ description: "Returns information about schema-scoped objects in the current database.",
640
+ origin: "vendor-docs",
641
+ },
642
+ objectpropertyex: {
643
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/objectpropertyex-transact-sql",
644
+ description: "The `OBJECTPROPERTYEX` function returns information about schema-scoped objects in the current database.",
645
+ origin: "vendor-docs",
646
+ },
647
+ openjson: {
648
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/openjson-transact-sql",
649
+ description: "The `OPENJSON` table-valued function parses JSON text and returns objects and properties from the JSON input as rows and columns.",
650
+ origin: "vendor-docs",
651
+ },
652
+ original_db_name: {
653
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/original-db-name-transact-sql",
654
+ description: "Returns the database name specified by the user in the database connection string.",
655
+ origin: "vendor-docs",
656
+ },
657
+ original_login: {
658
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/original-login-transact-sql",
659
+ description: "Returns the name of the login that connected to the instance of !INCLUDE[ssNoVersion].",
660
+ origin: "vendor-docs",
661
+ },
662
+ percent_rank: {
663
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/percent-rank-transact-sql",
664
+ description: "Calculates the relative rank of a row within a group of rows in !INCLUDE [ssnoversion].",
665
+ origin: "vendor-docs",
666
+ },
667
+ percentile_cont: {
668
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/percentile-cont-transact-sql",
669
+ description: "Calculates a percentile based on a continuous distribution of the column value in the !INCLUDE [ssdenoversion-md].",
670
+ origin: "vendor-docs",
671
+ },
672
+ percentile_disc: {
673
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/percentile-disc-transact-sql",
674
+ description: "Computes a specific percentile for sorted values in an entire rowset or within a rowset's distinct partitions in !INCLUDE [ssNoVersion].",
675
+ origin: "vendor-docs",
676
+ },
677
+ pi: {
678
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/pi-transact-sql",
679
+ description: "Returns the constant value of PI.",
680
+ origin: "vendor-docs",
681
+ },
682
+ power: {
683
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/power-transact-sql",
684
+ description: "Returns the value of the specified expression to the specified power.",
685
+ origin: "vendor-docs",
686
+ },
687
+ product: {
688
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/product-aggregate-transact-sql",
689
+ description: "The `PRODUCT` function returns the product of all the values, or only the `DISTINCT` values, in an expression.",
690
+ origin: "vendor-docs",
691
+ },
692
+ publishingservername: {
693
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/replication-functions-publishingservername",
694
+ description: "Returns the name of the originating Publisher for a published database participating in a database mirroring session.",
695
+ origin: "vendor-docs",
696
+ },
697
+ radians: {
698
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/radians-transact-sql",
699
+ description: "Returns radians when a numeric expression, in degrees, is entered.",
700
+ origin: "vendor-docs",
701
+ },
702
+ rand: {
703
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/rand-transact-sql",
704
+ description: "Returns a pseudo-random **float** value from `0` through `1`, exclusive.",
705
+ origin: "vendor-docs",
706
+ },
707
+ rank: {
708
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/rank-transact-sql",
709
+ description: "Returns the rank of each row within the partition of a result set.",
710
+ origin: "vendor-docs",
711
+ },
712
+ replace: {
713
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/replace-transact-sql",
714
+ description: "Replaces all occurrences of a specified string value with another string value.",
715
+ origin: "vendor-docs",
716
+ },
717
+ replicate: {
718
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/replicate-transact-sql",
719
+ description: "Repeats a string value a specified number of times.",
720
+ origin: "vendor-docs",
721
+ },
722
+ reverse: {
723
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/reverse-transact-sql",
724
+ description: "Returns the reverse order of a string value.",
725
+ origin: "vendor-docs",
726
+ },
727
+ right: {
728
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/right-transact-sql",
729
+ description: "Returns the right part of a character string with the specified number of characters.",
730
+ origin: "vendor-docs",
731
+ },
732
+ right_shift: {
733
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/right-shift-transact-sql",
734
+ description: "`RIGHT_SHIFT` takes two parameters, and returns the first parameter bit-shifted right by the number of bits specified in the second parameter.",
735
+ origin: "vendor-docs",
736
+ },
737
+ round: {
738
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/round-transact-sql",
739
+ description: "Returns a numeric value, rounded to the specified length or precision.",
740
+ origin: "vendor-docs",
741
+ },
742
+ row_number: {
743
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/row-number-transact-sql",
744
+ description: "Numbers the output of a result set.",
745
+ origin: "vendor-docs",
746
+ },
747
+ rowcount_big: {
748
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/rowcount-big-transact-sql",
749
+ description: "Returns the number of rows affected by the last statement executed.",
750
+ origin: "vendor-docs",
751
+ },
752
+ rtrim: {
753
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/rtrim-transact-sql",
754
+ description: "Returns a character string after truncating all trailing spaces.",
755
+ origin: "vendor-docs",
756
+ },
757
+ schema_id: {
758
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/schema-id-transact-sql",
759
+ description: "Returns the schema ID associated with a schema name.",
760
+ origin: "vendor-docs",
761
+ },
762
+ schema_name: {
763
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/schema-name-transact-sql",
764
+ description: "Returns the schema name associated with a schema ID.",
765
+ origin: "vendor-docs",
766
+ },
767
+ scope_identity: {
768
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/scope-identity-transact-sql",
769
+ description: "Returns the last identity value inserted into an identity column in the same scope.",
770
+ origin: "vendor-docs",
771
+ },
772
+ session_id: {
773
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/session-id-transact-sql",
774
+ description: "Returns the ID of the current !INCLUDE[ssazuresynapse-md] or !INCLUDE[ssPDW_md] session.",
775
+ origin: "vendor-docs",
776
+ },
777
+ sessionproperty: {
778
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/sessionproperty-transact-sql",
779
+ description: "Returns the SET options settings of a session.",
780
+ origin: "vendor-docs",
781
+ },
782
+ set_bit: {
783
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/set-bit-transact-sql",
784
+ description: "`SET_BIT` returns *expression_value* offset by the bit defined by *bit_offset*.",
785
+ origin: "vendor-docs",
786
+ },
787
+ sign: {
788
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/sign-transact-sql",
789
+ description: "Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.",
790
+ origin: "vendor-docs",
791
+ },
792
+ sin: {
793
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/sin-transact-sql",
794
+ description: "Returns the trigonometric sine of the specified angle, in radians, and in an approximate numeric, **float**, expression.",
795
+ origin: "vendor-docs",
796
+ },
797
+ smalldatetimefromparts: {
798
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/smalldatetimefromparts-transact-sql",
799
+ description: "Returns a **smalldatetime** value for the specified date and time.",
800
+ origin: "vendor-docs",
801
+ },
802
+ soundex: {
803
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/soundex-transact-sql",
804
+ description: "Returns a four-character (`SOUNDEX`) code to evaluate the similarity of two strings.",
805
+ origin: "vendor-docs",
806
+ },
807
+ space: {
808
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/space-transact-sql",
809
+ description: "Returns a string of repeated spaces.",
810
+ origin: "vendor-docs",
811
+ },
812
+ sql_variant_property: {
813
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/sql-variant-property-transact-sql",
814
+ description: "Returns the base data type and other information about a **sql_variant** value.",
815
+ origin: "vendor-docs",
816
+ },
817
+ sqrt: {
818
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/sqrt-transact-sql",
819
+ description: "Returns the square root of the specified float value.",
820
+ origin: "vendor-docs",
821
+ },
822
+ square: {
823
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/square-transact-sql",
824
+ description: "Returns the square of the specified float value.",
825
+ origin: "vendor-docs",
826
+ },
827
+ stats_date: {
828
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/stats-date-transact-sql",
829
+ description: "Returns the date of the most recent update for statistics on a table or indexed view.",
830
+ origin: "vendor-docs",
831
+ },
832
+ stdev: {
833
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/stdev-transact-sql",
834
+ description: "Returns the statistical standard deviation of all values in the specified expression.",
835
+ origin: "vendor-docs",
836
+ },
837
+ stdevp: {
838
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/stdevp-transact-sql",
839
+ description: "Returns the statistical standard deviation for the population for all values in the specified expression.",
840
+ origin: "vendor-docs",
841
+ },
842
+ string_agg: {
843
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/string-agg-transact-sql",
844
+ description: "Concatenates the values of string expressions and places separator values between them.",
845
+ origin: "vendor-docs",
846
+ },
847
+ string_escape: {
848
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/string-escape-transact-sql",
849
+ description: "Escapes special characters in texts and returns text with escaped characters.",
850
+ origin: "vendor-docs",
851
+ },
852
+ string_split: {
853
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/string-split-transact-sql",
854
+ description: "`STRING_SPLIT` is a table-valued function that splits a string into rows of substrings, based on a specified separator character.",
855
+ origin: "vendor-docs",
856
+ },
857
+ stuff: {
858
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/stuff-transact-sql",
859
+ description: "The STUFF function inserts a string into another string.",
860
+ origin: "vendor-docs",
861
+ },
862
+ substring: {
863
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/substring-transact-sql",
864
+ description: "Returns part of a character, binary, text, or image expression in !INCLUDE [ssNoVersion].",
865
+ origin: "vendor-docs",
866
+ },
867
+ sum: {
868
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/sum-transact-sql",
869
+ description: "Returns the sum of all the values, or only the `DISTINCT` values, in the expression.",
870
+ origin: "vendor-docs",
871
+ },
872
+ suser_name: {
873
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/suser-name-transact-sql",
874
+ description: "Returns the login identification name of the user.",
875
+ origin: "vendor-docs",
876
+ },
877
+ suser_sname: {
878
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/suser-sname-transact-sql",
879
+ description: "Returns the login name associated with a security identification number (SID).",
880
+ origin: "vendor-docs",
881
+ },
882
+ switchoffset: {
883
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/switchoffset-transact-sql",
884
+ description: "Returns a **datetimeoffset** value that is changed from the stored time zone offset to a specified new time zone offset.",
885
+ origin: "vendor-docs",
886
+ },
887
+ sysdatetime: {
888
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/sysdatetime-transact-sql",
889
+ description: "Returns a **datetime2(7)** value that contains the date and time of the computer on which the instance of !INCLUDE[ssNoVersion] is running.",
890
+ origin: "vendor-docs",
891
+ },
892
+ sysdatetimeoffset: {
893
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/sysdatetimeoffset-transact-sql",
894
+ description: "Returns a **datetimeoffset(7)** value that contains the date and time of the computer on which the instance of !INCLUDE[ssNoVersion] is running.",
895
+ origin: "vendor-docs",
896
+ },
897
+ sysutcdatetime: {
898
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/sysutcdatetime-transact-sql",
899
+ description: "Returns a **datetime2** value that contains the date and time of the computer on which the instance of !INCLUDE [ssNoVersion] is running.",
900
+ origin: "vendor-docs",
901
+ },
902
+ tan: {
903
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/tan-transact-sql",
904
+ description: "Returns the tangent of the input expression.",
905
+ origin: "vendor-docs",
906
+ },
907
+ tertiary_weights: {
908
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/collation-functions-tertiary-weights-transact-sql",
909
+ description: "For each character in a non-Unicode string expression - defined with a SQL tertiary collation - this function returns a binary string of weights.",
910
+ origin: "vendor-docs",
911
+ },
912
+ textptr: {
913
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/text-and-image-functions-textptr-transact-sql",
914
+ description: "Returns the text-pointer value that corresponds to a **text**, **ntext**, or **image** column in **varbinary** format.",
915
+ origin: "vendor-docs",
916
+ },
917
+ timefromparts: {
918
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/timefromparts-transact-sql",
919
+ description: "Returns a **time** value for the specified time and with the specified precision.",
920
+ origin: "vendor-docs",
921
+ },
922
+ todatetimeoffset: {
923
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/todatetimeoffset-transact-sql",
924
+ description: "Returns a **datetimeoffset** value that is translated from a **datetime2** expression.",
925
+ origin: "vendor-docs",
926
+ },
927
+ translate: {
928
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/translate-transact-sql",
929
+ description: "Returns the string provided as a first argument, after some characters specified in the second argument are translated into a destination set of characters, specified in the third argument.",
930
+ origin: "vendor-docs",
931
+ },
932
+ trim: { docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/trim-transact-sql", origin: "vendor-docs" },
933
+ try_convert: {
934
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/try-convert-transact-sql",
935
+ origin: "vendor-docs",
936
+ },
937
+ type_name: {
938
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/type-name-transact-sql",
939
+ description: "Returns the unqualified type name of a specified type ID.",
940
+ origin: "vendor-docs",
941
+ },
942
+ typeproperty: {
943
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/typeproperty-transact-sql",
944
+ description: "Returns information about a data type.",
945
+ origin: "vendor-docs",
946
+ },
947
+ update: {
948
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/update-trigger-functions-transact-sql",
949
+ description: "Returns a Boolean value that indicates whether an INSERT or UPDATE attempt was made on a specified column of a table or view.",
950
+ origin: "vendor-docs",
951
+ },
952
+ upper: {
953
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/upper-transact-sql",
954
+ description: "Returns a character expression with lowercase character data converted to uppercase.",
955
+ origin: "vendor-docs",
956
+ },
957
+ user_name: {
958
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/user-name-transact-sql",
959
+ description: "Returns a database user name from a specified identification number, or the current user name.",
960
+ origin: "vendor-docs",
961
+ },
962
+ var: {
963
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/var-transact-sql",
964
+ description: "Returns the statistical variance of all values in the specified expression.",
965
+ origin: "vendor-docs",
966
+ },
967
+ varp: {
968
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/varp-transact-sql",
969
+ description: "Returns the statistical variance for the population for all values in the specified expression.",
970
+ origin: "vendor-docs",
971
+ },
972
+ vector_distance: {
973
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/vector-distance-transact-sql",
974
+ description: "The `VECTOR_DISTANCE` function calculates the distance between two vectors using a specified distance metric.",
975
+ origin: "vendor-docs",
976
+ },
977
+ vector_norm: {
978
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/vector-norm-transact-sql",
979
+ description: "Use `VECTOR_NORM` to take a vector as an input and return the norm of the vector (which is a measure of its length or magnitude) in a given norm type.",
980
+ origin: "vendor-docs",
981
+ },
982
+ vector_normalize: {
983
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/vector-normalize-transact-sql",
984
+ description: "Use `VECTOR_NORMALIZE` to take a vector as an input and return the normalized vector, which is a vector scaled to have a length of 1 in a given norm type.",
985
+ origin: "vendor-docs",
986
+ },
987
+ vectorproperty: {
988
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/vectorproperty-transact-sql",
989
+ description: "The `VECTORPROPERTY` function returns specific properties of a given vector.",
990
+ origin: "vendor-docs",
991
+ },
992
+ verifysignedbyasymkey: {
993
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/verifysignedbyasymkey-transact-sql",
994
+ description: "Tests whether digitally signed data has been changed since it was signed.",
995
+ origin: "vendor-docs",
996
+ },
997
+ verifysignedbycert: {
998
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/verifysignedbycert-transact-sql",
999
+ description: "Tests whether digitally signed data has been changed since it was signed.",
1000
+ origin: "vendor-docs",
1001
+ },
1002
+ version: {
1003
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/version-transact-sql-metadata-functions",
1004
+ description: "Returns the version of !INCLUDE[ssazuresynapse-md] or !INCLUDE[ssPDW_md] running on the appliance.",
1005
+ origin: "vendor-docs",
1006
+ },
1007
+ xact_state: {
1008
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/xact-state-transact-sql",
1009
+ description: "Is a scalar function that reports the user transaction state of the current session.",
1010
+ origin: "vendor-docs",
1011
+ },
1012
+ year: {
1013
+ docUrl: "https://learn.microsoft.com/en-us/sql/t-sql/functions/year-transact-sql",
1014
+ description: "Returns an integer that represents the year of the specified *date*.",
1015
+ origin: "vendor-docs",
1016
+ },
1017
+ };