Sqlserver
 sql >> Teknologi Basis Data >  >> RDS >> Sqlserver

apakah ada cara untuk mendapatkan daftar fungsi inbuilt dari server sql?

Coba ini

SELECT name, definition, type_desc 
FROM sys.sql_modules m 
INNER JOIN sys.objects o ON m.object_id=o.object_id
WHERE type_desc like '%function%'

Atau yang lain:

SELECT * FROM sys.all_objects where type in ('FN','AF','FS','FT','IF','TF')

Berikut jenis-jenisnya:

--AF = Aggregate function (CLR)
--C = CHECK constraint
--D = DEFAULT (constraint or stand-alone)
--F = FOREIGN KEY constraint
--PK = PRIMARY KEY constraint
--P = SQL stored procedure
--PC = Assembly (CLR) stored procedure
--FN = SQL scalar-function
--FS = Assembly (CLR) scalar function
--FT = Assembly (CLR) table-valued function
--R = Rule (old-style, stand-alone)
--RF = Replication filter procedure
--SN = Synonym
--SQ = Service queue
--TA = Assembly (CLR) trigger
--TR = SQL trigger 
--IF = SQL inlined table-valued function
--TF = SQL table-valued function
--U = Table (user-defined)
--UQ = UNIQUE constraint
--V = View
--X = Extended stored procedure
--IT = Internal table

Fungsi Bawaan




  1. Database
  2.   
  3. Mysql
  4.   
  5. Oracle
  6.   
  7. Sqlserver
  8.   
  9. PostgreSQL
  10.   
  11. Access
  12.   
  13. SQLite
  14.   
  15. MariaDB
  1. 4 Cara Mendapatkan Riwayat Pekerjaan SQL Server

  2. SSRS - Setara Group_Concat menggunakan Ekspresi?

  3. Mengakses parameter output prosedur tersimpan SQL Server di C#

  4. Apa perbedaan antara Scope_Identity(), Identity(), @@Identity, dan Ident_Current()?

  5. Mendapatkan hasil SQL dinamis menjadi variabel untuk sql-server