Solved

ANSI PADDING

Posted on 1998-01-09
2
923 Views
Last Modified: 2008-02-01
Setup: SQL Server 6.5. Client- MS Access 2.0 ODBC driver version 1.02.3231 (comes with Access). The problem I have is: I have a SQL table vith ,say char(10) column. When I attach this table in Access, text entered in character field  is padded with spaces (eg. instead of 'aaa' i would have 'aaa       ' so in order to insert or add something to the end I have to remove spaces and then type. I belive it has something to do with ANSI padding setting in SQL server, so how do i configure it?
0
Comment
Question by:spiridonov
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 100 total points
ID: 1089939
Your column on the SQL server needs to be defined as VarChar(10).  This should prevent it from being padded.  
0
 
LVL 9

Expert Comment

by:cymbolic
ID: 1089940
Also, MS has been slipping in fixes on every release of Access and the ODBC drivers.  If you can, you are well off going to the latest version of MS Access (Access 97 or 8.0) and installing the 3.0 version of the ODBC driver manager.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question