FreeTDS User Guide: A Guide to Installing, Configuring and Running FreeTDS | ||
---|---|---|
Prev | Chapter 7. Getting Help | Next |
The best possible scenario is, you write a program similar to the ones in the unittests directories. It should be small and demonstrate the problem. These are usually fixed in a jiffy.
Moving down, Perl or PHP code provided it creates all the tables it needs and populates them will generally result in a quick fix. A stand alone query that will run in SQSH also works well.
Tip: If you provide an SQL query in your question to the list, provide a table definition, too. Problems are often related to specific datatypes, so a table definition is an absolute must. You can run sp_help table to generate one.
Be clear about your setup. Which row of the Configurations Section represents yours? Indicate whether you're using the JDBC or C libraries. Try changing the value of TDSVER, to see if it is specifically related to the protocol level. The server version would be helpful if known, you may execute select @@version to find it.
It is very helpful if you can show an example of the problem using sqsh or tsql (the latter is included in with FreeTDS). Using those programs limits the scope of question to FreeTDS itself.
If the problem is a segmentation fault or bus error, obtain a backtrace and include it in your mail. See the "Page contains no data" section for how to do this.