| Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 uid=1(daemon) gid=1(daemon) grupos=1(daemon) Safe-mode: OFF (not secure) /opt/lampp/share/doc/freetds-0.91/userguide/   drwxr-xr-x | |
| Viewing file: Select action/file-type: Chapter 8. Troubleshooting
 Known IssuesPorting IssuesDate Structures and OffsetsMicrosoft and Sybase use different DB-Library date structures and conventions.  Notably months can by [0,11] or [1,12].  Pay careful attention to the results of  Floating PointPrecision may surprise you if you pay attention.  Microsoft's DB-Library promotes single-precision to double in  Math libraries vary, too.  If porting an application whose output uses functions such at  Text FieldsQuestions sometimes arise over large varchar types (anything larger than varchar(255)) that became available with Microsoft SQL Server 7.0. When accessing long varchars with TDS protocol version 4.2 or 5.0, these fields will be truncated to 255 characters, due to limitations inherent in the protocol definition. Your best bet in that case is to convert them to text types. In Microsoft SQL Server 7.0 and later,  SELECT mycol = convert(mycol, text) FROM mytableor with the newer SQL92 CAST syntax e.g., SELECT CAST(mycol as TEXT) FROM mytable A related problem is that some people have reported problems with text field using TDS version 7.0.  One known workaround is to convert long strings to varchar(8000) in your query text with CAST(  There is also a bug ("Lions and tigers and bugs!  Oh, my!") in Microsoft's implementation of text fields.  Disregardless [sic] of their documentation, you must explicitly set the value of  	1>set Another way to handle control the defaultTEXTSIZEis to use the setting in freetds.conf.EndianismIf either your server or your client is a big endian system, pay careful attention to all references to endianism anywhere near FreeTDS. See the section on Little Endian Emulation for details. Datetime and MoneyBig endian clients may experience difficulty with Microsoft servers. Some versions of SQL Server 7 did not handle these types on these machines correctly, according to the protocol. According to http://support.microsoft.com/support/kb/articles/Q254/1/23.ASP on the Microsoft support site, it's fixed as of service pack 3. Unfortunately, there's no direct way for FreeTDS to know whether or not a service pack has been installed, and how/whether to support the buggy version is an outstanding issue. Your best bet is to apply their patch. 
 Microsoft's "Integrated Security"FreeTDS may be unable to connect to the server. The error message will be "Login failed for user 'example'. Reason: Not associated with a trusted SQL Server connection". To solve this, turn on SQL Server authentication: 
 These instructions apply to Microsoft SQL Server 7 and SQL Server 2000. 
 | 
| :: Command execute :: | |
| --[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5723 ]-- |