Send us feedback about this page Data Source Wizard Help

Data Source Wizard Screen 4

On the fourth screen of the wizard, you can specify the language to be used for Microsoft® SQL Server™ messages, character set translation, and whether the SQL Server driver should use regional settings. You can also control the logging of long-running queries and driver statistics settings.

Change the language of SQL Server system messages to box

Each SQL Server can have multiple sets of system messages, with each set in a different language (English, Spanish, French, and so on). If a data source is defined against a server that has multiple sets of system messages, you can specify which language you want to use for system messages. In the list, click the language. This option is unavailable if only one language is installed on the SQL Server.

Perform translation for character data check box

When selected, the SQL Server ODBC driver converts ANSI strings sent between the client computer and SQL Server by using Unicode. The SQL Server ODBC driver sometimes converts between the SQL Server code page and Unicode on the client computer. This requires that the code page used by SQL Server be one of the code pages available on the client computer.

When cleared, no translation of extended characters in ANSI character strings is done when they are sent between the client application and the server. If the client computer is using an ANSI code page (ACP) different from the SQL Server code page, extended characters in ANSI character strings may be misinterpreted. If the client computer is using the same code page for its ACP that SQL Server is using, the extended characters are interpreted correctly.

Use regional settings when outputting currency, numbers, dates, and times check box

Specifies that the driver use the regional settings of the client computer for formatting currency, numbers, dates, and times in character output strings. The driver uses the default regional setting for the Microsoft Windows® 95/98, Microsoft Windows NT®, or Microsoft Windows® 2000 login account of the user connecting through the data source. Select this option for applications that only display data, not for applications that process data.

Save long running queries to the log file box

Specifies that the driver log any query that takes longer than the Long query time value. Long-running queries are logged to the specified file. To specify a log file, either type the full path and file name in the box or click Browse to select a log file by navigating through existing file directories.

Long query time (milliseconds) box

Specifies a threshold value, in milliseconds, for long-running query logging. Any query that takes longer than this number of milliseconds to run is logged.

Log ODBC driver statistics to the log file box

Specifies that statistics be logged. Statistics are logged to the specified file. To specify a log file, either type the full path and file name in the box or click Browse to select a log file by navigating through existing file directories.

The statistics log is a tab-delimited file that can be analyzed in Microsoft Excel or any other application that supports tab-delimited files.

©1988-2000 Microsoft Corporation. All Rights Reserved.