“SQL ada operator” Kode Jawaban

Jika ada SQL Server

IF EXISTS (SELECT * FROM tblGLUserAccess WHERE GLUserName ='xxxxxxxx') 
BEGIN
   SELECT 1 
END
ELSE
BEGIN
    SELECT 2
END
Amused Angelfish

SQL ada operator

SELECT column_name(s)
FROM table_name
WHERE EXISTS
(SELECT column_name FROM table_name WHERE condition);
Testy Tiger

Jawaban yang mirip dengan “SQL ada operator”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya