cfprocparam sending "???????" to SQL Server

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default cfprocparam sending "???????" to SQL Server

    I have a SQL Server stored procedure that expects an nvarchar parameter. The
    cfprocparam is sending Russian characters, but the stored proc seems to be
    receiving only question marks. Ordinarily, an n-prefix should be used to send
    the unicode string, but I get a CF error when I try that in the cfprocparam
    value. Incidentally, the n-prefix works fine if I send the data as SQL string
    in a cfquery.

    Can anyone shed some light?

    <cfstoredproc procedure = "spGetJobList"
    datasource="Training_Integration_Tracking" dbtype="odbc" returnCode = "No">
    <cfprocresult name = "rs1">
    <cfprocparam type = "IN" CFSQLType = "CF_SQL_LONGVARCHAR" value = "#MyTitle#">
    </cfstoredproc>



    1dermom Guest

  2. Similar Questions and Discussions

    1. how to get a file from the "Testing Server" / "remote view"
      if I want to get a particular file from the "Testing Sever" or "remote view" in my extension, how can i do so? Thanks a lot!!!
    2. Jmail only sending "body" in first run of loop
      I have designed a newsletter that will send any news to my subscribers as soon as it is added to my front page. I have four dynamic bindings which...
    3. Sending "forms" without text?? Please help
      Hi, my knowledge of Flash so far is very basic but I am trying to learn. I would like to know if it's possible to do a screen capture and mail...
    4. Problem sending mail on Server 2003 "SendUsing" configuration is invalid
      Hi, I have a C# asp.net app that sent mail fine on server 2000 or win 2000, but now I moved it to our new 2003 box, and it's giving me "The...
    5. <tr id="MyRow" runat="server"> ... </tr> doesn't appear in server-side code
      pschrader: Look at the top of your page, where your controls are declared. Do you see one for HTMLTableRow? You may have to manually add it, if...
  3. #2

    Default Re: cfprocparam sending "???????" to SQL Server

    first off, you should be using the JDBC driver not the odbc one.

    turn on the
    [url]http://www.sustainablegis.com/blog/cfg11n/index.cfm?mode=entry&entry=F9553D86-20[/url]
    ED-7DEE-2A913AFD8651643F for that dsn. that should do the trick.


    PaulH Guest

  4. #3

    Default Re: cfprocparam sending "???????" to SQL Server

    The "unicode option" is something that is specified by the person who defines the dsn on the server?
    1dermom Guest

  5. #4

    Default Re: cfprocparam sending "???????" to SQL Server

    yes.

    PaulH Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139