Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Dynamic sql and hebrew

Author  Topic 

pelegk2
Aged Yak Warrior

723 Posts

Posted - 2009-06-11 : 12:20:39
i am making a temp table with a collation of the db that i work on.
when i try to insert a row using a dynamic query to this table,
i see "good ??????" instead of hebrew letters (where the ????)

any idea?
thanks
peleg

Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-06-11 : 12:33:50
whats the data type used?
Go to Top of Page

pelegk2
Aged Yak Warrior

723 Posts

Posted - 2009-06-11 : 14:18:32
the column with the probem is defined as NVARCHAR(50)

Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)
Go to Top of Page

tosscrosby
Aged Yak Warrior

676 Posts

Posted - 2009-06-12 : 15:15:49
What's the collation for the database?

Terry

-- Procrastinate now!
Go to Top of Page

pelegk2
Aged Yak Warrior

723 Posts

Posted - 2009-06-13 : 08:51:34
i do this

SELECT CAST(NULL as NVARCHAR(50)) as Company , CAST(NULL as NVARCHAR(50)) as ServiceName
INTO #ReportTable


when i check the COLLATION of the column i see it's :
SQL_LATIN1_GENERAL_CP1_CI_AS


Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)
Go to Top of Page
   

- Advertisement -