473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Accessing binary(16) field in SQL query

I'm trying to read in a field from a microsoft SQL database that in in the format binary(16) and then compare it to a string entered by the user. I found routines to convert between strings and a binary array, but am unable to access the field in VB NET 2008. When i display the field.tostring, it shows 'System.Byte[]'. How can I access the byte array in the field and compare it to what was entered by the user. Thanks.
Apr 13 '12 #1
0 1039

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: wnstnsmith | last post by:
Dear all, Maybe I'm stupid, in any case I'm stupefied by now. Please help. Stored procedures in Access should be accessible from a java-applet throught a callable statement, but all I get is...
7
by: Amy | last post by:
I'm trying to add an autoincrementing id to a table based on an existing field Name, but Name has duplicated records. How can I do that in ACCESS? Thanks. Amy
5
by: Javier | last post by:
I have a field type Date/Time that automatically defaults to Now(). I'm having a problem writing a query that will retrieve all the records for a specific date the user to enters when prompted. I...
4
by: bob hicky | last post by:
I have two tables (RadiationOncologists and EvaluationEntry) and forms for each of the two. My problem is that I have a text box in the RadiationOncologists form that is called Number. This field...
6
by: Carlos | last post by:
Hi all, I am trying to access a public field of another form class within the same namespace. The field is public, what is the best way to access it from a different class? I defined as private...
2
by: effendi | last post by:
I amtrying to rewrite this code to be compliant tofirefox and MSIE.This works fine inMSIE if (thisForm.AttachmentCount.value==0) { attachment=thisForm.all.value if(attachment!="") {...
1
by: vhrao | last post by:
I am trying to acess oracle data and transfer it to access. I am checking date field and if not NULL then I try to generate sqlupdate string, but I get exception (0x80020009) in the follwing line:...
5
by: aewhale | last post by:
I have a monitoring script which I am trying to better understand. One of the queries is built as follows: # delete any rows that expired more than a year ago my $rows = $dbh->do("DELETE FROM...
2
by: NamelessNumberheadMan | last post by:
So here is my problem. I have two beans (one extends the other), and I have one DAO class for each to access their tables (using Hibernate). In most cases the queries will be identical so I also have...
4
by: Jimmy Jones | last post by:
Hi, My problem is that I cannot run make-table-query with "attachment" field... Is there any workaround? I need to find a way to move attachments between tables together with regular data. ...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.