Showing posts with label english. Show all posts
Showing posts with label english. Show all posts

Tuesday, March 20, 2012

BUG? Extracting Data Stored in Multiple Languages

Hi,

I have an access database that is storing text in english and chinese characters. I am importing the data using SSIS and it is putting a 'square' character in place of all the chinese characters. Can I associate multiple code pages to a control? If this is not possible, I would just like to Extract the data and Load it into a table, and i will just handle the errors and write the key fields to an error log. The problem is that the error handler is not redirecting the row. It just simply fails. I have changed all the error actions to Redirect Row too. I currently have a script checking if the 'square' character exists but i feel this should be handled a better way? Has anyone run into this issue or have any suggestions?

This is the error code i get

Data conversion failed. The data conversion for column "FDCDOPS0" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".

Access stores string data as Unicode. Is it possible to keep it that way? Where do you transfer data to? If you are moving it to SQL Server tables, is it possible to use Unicode string types (nchar/nvarchar), and avoid conversions?

Thanks.

|||

I am storing the field in question as nvarchar(256). I'm transferring data to a SQL Server 2005 database. I still have had no luck in solving the issue. Unicode is the answer i think. I am using a Data Source and Data Source View in SSIS. When I view the data in the data view the conversion has already taken place. Is there a way to set the field types in the data source or view?

Thanks

|||

It is not quite clear to me what you are doing. Could you explain what components you are using in your package or even better attach a simplified version of it.

Thanks.

sql

Saturday, February 25, 2012

btrieve

Hi
first excuse my bad english, I am french.
I think with older access version we can access to btrieve
files via ODBC but now I have not found a such driver for
actuate version and I have no more first access version ;
I want only to read once time old btrieve files for make
new files with the old data.
Somedy know an odbc driver for btrieve ? not too expansive ;-)
or any suggestions for my recovery/translation ?
In advance Thank you very much.
I also post this question to access odbc driver and data odbc
Jacques
You can find a list of third party ODBC drivers at:
http://www.sqlsummit.com/ODBCVend.htm
If you search the page for Btrieve, you will find the
vendors for Btrieve drivers.
-Sue
On Tue, 03 May 2005 14:42:23 +0200, ICSD n&f
<J-Thery@.ouca.fr> wrote:

>Hi
>first excuse my bad english, I am french.
>I think with older access version we can access to btrieve
>files via ODBC but now I have not found a such driver for
>actuate version and I have no more first access version ;
>I want only to read once time old btrieve files for make
>new files with the old data.
>Somedy know an odbc driver for btrieve ? not too expansive ;-)
>or any suggestions for my recovery/translation ?
>In advance Thank you very much.
>I also post this question to access odbc driver and data odbc
>Jacques
|||I found in fact 2or3 vendors that I did not know
Thank you Sue,
Sue Hoegemeier a =E9crit :
> You can find a list of third party ODBC drivers at:
> http://www.sqlsummit.com/ODBCVend.htm
> If you search the page for Btrieve, you will find the
> vendors for Btrieve drivers.
>=20
> -Sue
>=20
> On Tue, 03 May 2005 14:42:23 +0200, ICSD n&f
> <J-Thery@.ouca.fr> wrote:
>=20
>=20
>=20
>=20

btrieve

Hi
first excuse my bad english, I am french.
I think with older access version we can access to btrieve
files via ODBC but now I have not found a such driver for
actuate version and I have no more first access version ;
I want only to read once time old btrieve files for make
new files with the old data.
Somedy know an odbc driver for btrieve ? not too expansive ;-)
or any suggestions for my recovery/translation ?
In advance Thank you very much.
I also post this question to access odbc driver and data odbc
JacquesYou can find a list of third party ODBC drivers at:
http://www.sqlsummit.com/ODBCVend.htm
If you search the page for Btrieve, you will find the
vendors for Btrieve drivers.
-Sue
On Tue, 03 May 2005 14:42:23 +0200, ICSD n&f
<J-Thery@.ouca.fr> wrote:

>Hi
>first excuse my bad english, I am french.
>I think with older access version we can access to btrieve
>files via ODBC but now I have not found a such driver for
>actuate version and I have no more first access version ;
>I want only to read once time old btrieve files for make
>new files with the old data.
>Somedy know an odbc driver for btrieve ? not too expansive ;-)
>or any suggestions for my recovery/translation ?
>In advance Thank you very much.
>I also post this question to access odbc driver and data odbc
>Jacques|||I found in fact 2or3 vendors that I did not know
Thank you Sue,
Sue Hoegemeier a =E9crit :
> You can find a list of third party ODBC drivers at:
> http://www.sqlsummit.com/ODBCVend.htm
> If you search the page for Btrieve, you will find the
> vendors for Btrieve drivers.
>=20
> -Sue
>=20
> On Tue, 03 May 2005 14:42:23 +0200, ICSD n&f
> <J-Thery@.ouca.fr> wrote:
>=20
>=20
>=20
>=20

Sunday, February 19, 2012

British English Date Problem - ISO-dates not accepted (64-bit)

Problem exists on a 64-bit SQL Server (although the same result occurs on a
32-bit platform), where we have installed MS-SQL with the British English
locale.
We are experiencing problems when passing ISO format dates (yyyy-mm-dd)
within queries. UK date format (25/12/2004) are ok but as soon as an iso
date is used '2004-12-25' an error occurs.
<For example:>
Select * from tbltest where testdate > '2003-04-16 00:00:00'
<Returns error:>
Server: Msg 296, Level 16, State 3, Line 1
The conversion of char data type to smalldatetime data type resulted in an
out-of-range smalldatetime value.
There must be something that we are missing here, as changing the users
locale to the default 'English' (US English) corrects the problem.
Thanks in advance
IanHave a look at these:
http://www.karaszi.com/SQLServer/info_datetime.asp Guide to Datetimes
http://www.sqlservercentral.com/columnists/bsyverson/sqldatetime.asp
Datetimes
http://www.murach.com/books/sqls/article.htm Datetime Searching
I would use the format of 'yyyymmdd' instead.
--
Andrew J. Kelly SQL MVP
"Ian" <Ian@.discussions.microsoft.com> wrote in message
news:77EB65F8-40FE-4BE6-9058-425CFA1F36B8@.microsoft.com...
> Problem exists on a 64-bit SQL Server (although the same result occurs on
> a
> 32-bit platform), where we have installed MS-SQL with the British English
> locale.
> We are experiencing problems when passing ISO format dates (yyyy-mm-dd)
> within queries. UK date format (25/12/2004) are ok but as soon as an iso
> date is used '2004-12-25' an error occurs.
> <For example:>
> Select * from tbltest where testdate > '2003-04-16 00:00:00'
> <Returns error:>
> Server: Msg 296, Level 16, State 3, Line 1
> The conversion of char data type to smalldatetime data type resulted in an
> out-of-range smalldatetime value.
> There must be something that we are missing here, as changing the users
> locale to the default 'English' (US English) corrects the problem.
> Thanks in advance
> Ian|||thanks for the info...
Ian
"Andrew J. Kelly" wrote:
> Have a look at these:
>
> http://www.karaszi.com/SQLServer/info_datetime.asp Guide to Datetimes
> http://www.sqlservercentral.com/columnists/bsyverson/sqldatetime.asp
> Datetimes
> http://www.murach.com/books/sqls/article.htm Datetime Searching
>
> I would use the format of 'yyyymmdd' instead.
> --
> Andrew J. Kelly SQL MVP
>
> "Ian" <Ian@.discussions.microsoft.com> wrote in message
> news:77EB65F8-40FE-4BE6-9058-425CFA1F36B8@.microsoft.com...
> > Problem exists on a 64-bit SQL Server (although the same result occurs on
> > a
> > 32-bit platform), where we have installed MS-SQL with the British English
> > locale.
> >
> > We are experiencing problems when passing ISO format dates (yyyy-mm-dd)
> > within queries. UK date format (25/12/2004) are ok but as soon as an iso
> > date is used '2004-12-25' an error occurs.
> >
> > <For example:>
> >
> > Select * from tbltest where testdate > '2003-04-16 00:00:00'
> >
> > <Returns error:>
> >
> > Server: Msg 296, Level 16, State 3, Line 1
> > The conversion of char data type to smalldatetime data type resulted in an
> > out-of-range smalldatetime value.
> >
> > There must be something that we are missing here, as changing the users
> > locale to the default 'English' (US English) corrects the problem.
> >
> > Thanks in advance
> > Ian
>
>

British English Date Problem - ISO-dates not accepted (64-bit)

Problem exists on a 64-bit SQL Server (although the same result occurs on a
32-bit platform), where we have installed MS-SQL with the British English
locale.
We are experiencing problems when passing ISO format dates (yyyy-mm-dd)
within queries. UK date format (25/12/2004) are ok but as soon as an iso
date is used '2004-12-25' an error occurs.
<For example:>
Select * from tbltest where testdate > '2003-04-16 00:00:00'
<Returns error:>
Server: Msg 296, Level 16, State 3, Line 1
The conversion of char data type to smalldatetime data type resulted in an
out-of-range smalldatetime value.
There must be something that we are missing here, as changing the users
locale to the default 'English' (US English) corrects the problem.
Thanks in advance
Ian
Have a look at these:
http://www.karaszi.com/SQLServer/info_datetime.asp Guide to Datetimes
http://www.sqlservercentral.com/colu...qldatetime.asp
Datetimes
http://www.murach.com/books/sqls/article.htm Datetime Searching
I would use the format of 'yyyymmdd' instead.
Andrew J. Kelly SQL MVP
"Ian" <Ian@.discussions.microsoft.com> wrote in message
news:77EB65F8-40FE-4BE6-9058-425CFA1F36B8@.microsoft.com...
> Problem exists on a 64-bit SQL Server (although the same result occurs on
> a
> 32-bit platform), where we have installed MS-SQL with the British English
> locale.
> We are experiencing problems when passing ISO format dates (yyyy-mm-dd)
> within queries. UK date format (25/12/2004) are ok but as soon as an iso
> date is used '2004-12-25' an error occurs.
> <For example:>
> Select * from tbltest where testdate > '2003-04-16 00:00:00'
> <Returns error:>
> Server: Msg 296, Level 16, State 3, Line 1
> The conversion of char data type to smalldatetime data type resulted in an
> out-of-range smalldatetime value.
> There must be something that we are missing here, as changing the users
> locale to the default 'English' (US English) corrects the problem.
> Thanks in advance
> Ian
|||thanks for the info...
Ian
"Andrew J. Kelly" wrote:

> Have a look at these:
>
> http://www.karaszi.com/SQLServer/info_datetime.asp Guide to Datetimes
> http://www.sqlservercentral.com/colu...qldatetime.asp
> Datetimes
> http://www.murach.com/books/sqls/article.htm Datetime Searching
>
> I would use the format of 'yyyymmdd' instead.
> --
> Andrew J. Kelly SQL MVP
>
> "Ian" <Ian@.discussions.microsoft.com> wrote in message
> news:77EB65F8-40FE-4BE6-9058-425CFA1F36B8@.microsoft.com...
>
>