Peristiwa
31 Mac, 11 PTG - 2 Apr, 11 PTG
Acara pembelajaran SQL, Fabric dan Power BI terbesar. 31 Mac - 2 April. Gunakan kod FABINSIDER untuk menjimatkan $400.
Daftar hari iniPelayar ini tidak lagi disokong.
Naik taraf kepada Microsoft Edge untuk memanfaatkan ciri, kemas kini keselamatan dan sokongan teknikal yang terkini.
Applies to:
Azure Synapse Analytics
Analytics Platform System (PDW)
Returns the ID of the current Azure Synapse Analytics or Analytics Platform System (PDW) session.
Transact-SQL syntax conventions
-- Azure Synapse Analytics and Parallel Data Warehouse
SESSION_ID ( )
Returns an nvarchar(32) value.
The session ID is assigned to each user connection when the connection is made. It persists for the duration of the connection. When the connection ends, the session ID is released.
The session ID begins with the alphabetical characters 'SID'. These are case-sensitive and must be capitalized when session ID is used in SQL commands.
You can query the view sys.dm_pdw_exec_sessions to retrieve the same information as this function.
The following example returns the current session ID.
SELECT SESSION_ID();
Peristiwa
31 Mac, 11 PTG - 2 Apr, 11 PTG
Acara pembelajaran SQL, Fabric dan Power BI terbesar. 31 Mac - 2 April. Gunakan kod FABINSIDER untuk menjimatkan $400.
Daftar hari ini