 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
like2175
Joined: 12 Mar 2013 Posts: 1 Country: United Kingdom |
|
Feature Request: Make Script Table/View Data Unicode aware |
|
Can the Save Table/View Data be made unicode aware please
When using Script Table/View Data on a table that contains russian
characters, the generated insert statement does not contain the russian
characters but '?' symbols for each russian character. The table:
 |
 |
CREATE TABLE [dbo].[WorkgroupLocale](
[WorkgroupId] [int] NOT NULL,
[CultureCode] [nvarchar](10) NOT NULL,
[Description] [nvarchar](100) NULL) |
The Generated SQL:
 |
 |
INSERT INTO ([WorkgroupId],[CultureCode],[Description])
VALUES('2','ru-RU','??????????????? ??????????????'); |
The actual row content:
WorkgroupId CultureCode Description
2 ru-RU Технологическое проектирование
|
|
Tue Mar 12, 2013 8:55 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
We are planning on developing Unicode compatible version but that is not going to happen in a near future. It is a very complex task touching all internal functions of SQL Assistant. that's the bad news. The good news is you can develop a relatively simple snippet in SQL Assistant generate SQL script that can be executed in your SQL editor and that script in turn can produce the required data script. something like
 |
 |
SELECT 'INSERT INTO $OBJECT(ins_qualname, table)$ ( $COLUMNS(updatable)$ )
VALUES ( "''' + REPLACE(CAST("$COLUMNS(vertical, updatable)$" AS VARCHAR(max)), '''', '''''') + '''' + '" )'
FROM $OBJECT(ins_qualname, table)$ |
|
|
Tue Mar 12, 2013 9:40 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|