Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.ms-sqlserver > #1778
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Erland Sommarskog <esquel@sommarskog.se> |
| Newsgroups | comp.databases.ms-sqlserver |
| Subject | Re: Varbinary and nvarchar problem |
| Date | Tue, 24 Jun 2014 07:19:38 +0000 (UTC) |
| Organization | Erland Sommarskog |
| Lines | 19 |
| Message-ID | <XnsA3565EE28A637Yazorman@127.0.0.1> (permalink) |
| References | <lnvbvt$ck3$1@dont-email.me> <XnsA351EB263B565Yazorman@127.0.0.1> <lnvlt4$nnk$1@dont-email.me> <XnsA352A57E3723Yazorman@127.0.0.1> <lo9b9q$p9g$1@dont-email.me> <lo9dg7$8bf$1@dont-email.me> <XnsA355DB51B5C3CYazorman@127.0.0.1> <loa327$lo5$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Tue, 24 Jun 2014 07:19:38 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="5d404a5d864426cbf50ddbcd9433a6e4"; logging-data="7351"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+n2aHIw1dvxvxerOgxRv/z" |
| User-Agent | Xnews/2005.10.03 Mime-proxy/1.4.c.4 (Win32) |
| Cancel-Lock | sha1:kjkezQeyBF9ADqd0/j8j53r8Z6Q= |
| Xref | csiph.com comp.databases.ms-sqlserver:1778 |
Show key headers only | View raw
Shelly (sheldonlg@thevillages.net) writes: > The three pieces that make up the content of what is to in the HASHBYTE > are all varchar strings. There are no integer values. For example, one > record has 'C00001', 'COMERCIAL' and 'S' as the three pieces, so the > HASHBYTE is of 'C00001COMERCIALS'. The result of the HASHBYTE is a > varbinary, but the convert should be doing an explicit conversion of it > to varchar(32). Well, as long as you don't share the code you are using there is not much more than I or anyone else can say. -- Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Books Online for SQL Server 2005 at http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Back to comp.databases.ms-sqlserver | Previous | Next — Previous in thread | Find similar
Varbinary and nvarchar problem Shelly <sheldonlg@thevillages.net> - 2014-06-19 15:00 -0400
Re: Varbinary and nvarchar problem Erland Sommarskog <esquel@sommarskog.se> - 2014-06-19 23:06 +0200
Re: Varbinary and nvarchar problem Shelly <sheldonlg@thevillages.net> - 2014-06-19 17:49 -0400
Re: Varbinary and nvarchar problem Erland Sommarskog <esquel@sommarskog.se> - 2014-06-20 16:16 +0200
Re: Varbinary and nvarchar problem Shelly <sheldonlg@thevillages.net> - 2014-06-21 09:17 -0400
Re: Varbinary and nvarchar problem Shelly <sheldonlg@thevillages.net> - 2014-06-23 09:49 -0400
Re: Varbinary and nvarchar problem Shelly <sheldonlg@thevillages.net> - 2014-06-23 10:27 -0400
Re: Varbinary and nvarchar problem Erland Sommarskog <esquel@sommarskog.se> - 2014-06-23 21:33 +0200
Re: Varbinary and nvarchar problem Shelly <sheldonlg@thevillages.net> - 2014-06-23 16:35 -0400
Re: Varbinary and nvarchar problem Erland Sommarskog <esquel@sommarskog.se> - 2014-06-24 07:19 +0000
csiph-web