Problem fixed
^.^
Using ADODB.Command and call stored procedure
It can pass unicode data
You cannot call the stored procedure by using following method
set rs = server.createobject("ADODB.Recordset")
rs.execute "stored_procedure 'param1', 'param2'", connection
This method is sql collation dependency, and cannot stored other coding
for example: if you want said simplify chinese in database, which collation
is Taiwan, it is failed although you set the field as N'' type
^.^ 2 1436
ºa¤Ö@¤½¥q wrote: Problem fixed ^.^
Using ADODB.Command and call stored procedure
It can pass unicode data
You cannot call the stored procedure by using following method
set rs = server.createobject("ADODB.Recordset") rs.execute "stored_procedure 'param1', 'param2'", connection
A recordset does not have an Execute method. Perhaps you intended to use
"Open" instead ... ? This method is sql collation dependency, and cannot stored other coding for example: if you want said simplify chinese in database, which collation is Taiwan, it is failed although you set the field as N'' type ^.^
I have no strong objections to using the command object, but perhaps you
should try:
set rs = server.createobject("ADODB.Recordset")
rs.open "stored_procedure N'param1', N'param2'", connection
Or:
set rs = server.createobject("ADODB.Recordset")
connection.stored_procedure param1,param2, rs
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Yes, using Open
hehe
typing error~~ sorry
Of course, you can using addnew method to pass unicode
^.^
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl... ºa¤Ö@¤½¥q wrote: Problem fixed ^.^
Using ADODB.Command and call stored procedure
It can pass unicode data
You cannot call the stored procedure by using following method
set rs = server.createobject("ADODB.Recordset") rs.execute "stored_procedure 'param1', 'param2'", connection
A recordset does not have an Execute method. Perhaps you intended to use "Open" instead ... ?
This method is sql collation dependency, and cannot stored other coding for example: if you want said simplify chinese in database, which collation is Taiwan, it is failed although you set the field as N'' type ^.^
I have no strong objections to using the command object, but perhaps you should try:
set rs = server.createobject("ADODB.Recordset") rs.open "stored_procedure N'param1', N'param2'", connection
Or:
set rs = server.createobject("ADODB.Recordset") connection.stored_procedure param1,param2, rs
Bob Barrows -- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM"
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: John Ramsden |
last post by:
I have a PHP script that is run via a 'wget' command within
an MS SQL trigger, and relies on accessing the database
record updated by the SQL statement that triggered the
script in the first...
|
by: Skip Montanaro |
last post by:
I wrote PEP 304, "Controlling Generation of Bytecode Files":
http://www.python.org/peps/pep-0304.html
quite awhile ago. The first version appeared in January 2003 in response to
questions...
|
by: F. SOBANDE |
last post by:
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--=_NextPart_Lycos_0280791089731047_ID
Content-Type:...
|
by: Barney Norris |
last post by:
Hi,
The W3C validator tells me this page isn't valid HTML 4.01 Strict:
http://www-student.cs.york.ac.uk/~jban100/wont_validate.html
The reason it gives is I've closed meta tags with a '/'...
|
by: Adrian Parker |
last post by:
I've got the standard SqlCacheDependency working just fine , ie. I've
defined (and encrypted) the connectionStrings section in the web.config, and
I've also defined an an sqlCacheDependency in the...
|
by: novice |
last post by:
I dint find a proper group to post this,
so i'm asking this question. If you think
this question is irrelevent then dont answer,
but i expect good replies from experts.
I wondor, how these guys...
|
by: John Salerno |
last post by:
I'm a little confused, but I'm sure this is something trivial. I'm
confused about why this works:
('more', 'less'),
('something', 'nothing'),
('good', 'bad'))
(('hello', 'goodbye'), ('more',...
|
by: Dhurandhar Bhatvadekar |
last post by:
I am not sure if this is a naive question. But I have an arbitrarily
long document where I know that a DOCTYPE
declaration exists. I am not interested in "parsing" the document. All
I am...
|
by: Doug Miller |
last post by:
I can't seem to get this reply parsed correctly. All I'm really interested in
are Package.Postage.MailService and Package.Postage.Rate. Code snippet
follows.
<?xml version="1.0" ?>...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |