Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Unicode fields in MS SQL query

$
0
0

Hi

I've wrote a MS SQL query that contains some Unicode fields in its records.

But these fields can't go correctly into database. there is no errors in its inserting and DB query action.

But when I retrieve its data by _MSSQL_GetRecord command, i get some incorrect data in table.

 

$getrecord = _MSSQL_GetRecord($hConnection, "Tbl_LoginAccepted")
         _arrayDisplay ($getrecord)

 

aslo when I watch these items in its database at SQL2008R2 DBserver, (SQL Server Management Studio) I see the unicode fields data just in question mark format !!  : such   " ????? ?? ? ?? ?? ?? "

 

$myquery = "INSERT INTO Tbl_LoginAccepted VALUES ('"&$sUserName&"', '"&$mytime&"', '"&$mydate&"', 'محمد '', '"&$AppNumberForRun&"', 0,'اتوماسيون اداري','"&$ReqSerial&"');"        
         _MSSQL_Query($hConnection, $myquery)

 

Very thanks for any help.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>