|
Archives of the TeradataForumMessage Posted: Tue, 13 Sep 2005 @ 20:35:18 GMT
If you need to know which OS The Teradata Database Server is running on Teradata Engineering isn't doing something correct. Teradata is Teradata is Teradata. you shouldn't need to know if you are using the standard API interfaces to the Database Server. With Possibly one exception. (or 2 if you include sw_event_log as Mike pointed out). If you are trying to Compile a UDF which uses OS specific calls (allowed in 6.x) and you need to know which OS you are running on so you know which version of your UDF to install. Instead of Multiple versions of your UDF I would suggest IFDEFS in the code. #if defined(_MSC_VER) windows code #else // UNIX #ifdef __linux__ linux code #else mpras code #endif #endif That way you only need to have one version of your UDF and it would work on all of the Teradata Server Platforms
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||