SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Feature Request: Make Script Table/View Data Unicode aware

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
Feature Request: Make Script Table/View Data Unicode aware
Author Message
like2175



Joined: 12 Mar 2013
Posts: 1
Country: United Kingdom

Post Feature Request: Make Script Table/View Data Unicode aware Reply with quote
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:

Code:
CREATE TABLE [dbo].[WorkgroupLocale](
       [WorkgroupId] [int] NOT NULL,
       [CultureCode] [nvarchar](10) NOT NULL,
       [Description] [nvarchar](100) NULL)


The Generated SQL:

Code:
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7852

Post Reply with quote
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

Code:
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 View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.