TempPath

Retrieves the system directory path designated for temporary files and folders

  • Free Function
  • SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017

Syntax:

SELECT SQLHTTP.net.TempPath()

Return Type:

varchar(4000)

Remarks:

Identical to the %Temp% command. Saving files and folders in this directory should be left to a minimum.

Sample Usage:

See Also: