Hi @Adrian CB
@@LANGID isn’t supported in Azure Synapse, so if you need to determine the language or date format, the most reliable option is:
SELECT SESSIONPROPERTY('LANGUAGE') AS CurrentLanguage;
This gives you the current session language (like us_english), which you can manually map to a LANGID if needed using the standard SQL Server language ID list.
If your goal is to understand the date format, run:
DBCC USEROPTIONS;
Look for the dateformat row it tells you whether the format is mdy, dmy, etc., which is what actually matters for parsing or formatting dates.
CultureInfo isn’t available inside Synapse SQL itself it only applies in external tools like .NET or Power BI. So within Synapse, SESSIONPROPERTY('LANGUAGE') plus DBCC USEROPTIONS is your best bet.
I hope this information helps. Please do let us know if you have any further queries.
Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.