[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

ANSI PADDING

Posted on 1998-01-09
2
Medium Priority
?
933 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:Victor 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 400 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

656 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