|
Setting Memory Allocations | SQL Server Operation |
It's necessary to distinguish the server operating system in some applications. E.g. when a procedure stored on the server calls an external function, then the function name and location often depend on the operating system.
A client can distinguish the operating systems by calling the Get_server_info function with the OP_GI_SERVER_PLATFORM (0) switch.
Operating systems can be distinguished on the server by checking the value of the @@PLATFORM system property.
The individual platforms are marked with integer number as follows:
0 | Windows |
1 | Novell Netware (not supported since version 7.0) |
2 | Linux 32-bit |
18 | Linux 64-bit |
Setting Memory Allocations | SQL Server Operation |