Questions tagged [varbinarymax]

Variable-length binary data type in Microsoft SQL Server, where 'MAX' indicates that the data may hold up to the maximum storage size of 2^31-1 bytes.

142 questions
0
votes
0 answers

How do I associate a varbinary column to ".html" in SQL Server 2008 - need to create fulltext index

I need to index a column that stores HTML data and I want to ignore the markup. Here's what I know: Store the column as varbinary(MAX) Set its associated file type to ".html" Enable full-text searching on the column. This might be a dumb question,…
Redtopia
  • 4,947
  • 7
  • 45
  • 68
-1
votes
1 answer

How can I make a download link which downloads data directly from a DB in ASP.NET?

Possible Duplicate: How to Download A file stored in SQL DB in Binary Format I stored some MS word docs in SQL Server. When I wanna download them, I save them as a file on server first then user can download them, but I'm looking for a way that…
ePezhman
  • 4,010
  • 7
  • 44
  • 80
-1
votes
1 answer

Retrieve quickly varbinary/image data from database,

I have more over 10000 (varbinary/image) entries in a SQL Server table and I want to retrieve/fetch all that data immediately. Is it possible? I am using ASP.NET as my front end. If I use data table, I list etc methods its takes at least 2 to 3…
-1
votes
1 answer

Retrieving varbinary image in sql server when it not null

I'm trying to retrieve an image stored as a varbinary(max) column from my SQL Server 2008 database. When the image column is not equal to NULL then I get the image from the database. Below is the code I use to retrieve my image. Do help me take a…
XiAnG
  • 245
  • 2
  • 9
  • 25
-1
votes
1 answer

Varbinary not working correcly in where clause

I have this select query that gives the output "0x38F0A2D294A4AEBD1648C952D910AC51C40FE7" SELECT HASHBYTES ('SHA1',CAST(54 AS varchar)+CAST(1 AS varchar) +CAST('2013-07-26 16:30:49.9786317' AS varchar)+CAST(1 AS varchar)) Even knowing what SQL…
Higarian
  • 533
  • 5
  • 11
-3
votes
1 answer

How to retrieve file from Database of any type(pdf,xlx,jp or png) and make it download-able on webpage?

I am using SQL Server Management Studio. In my table there is a column with datatype varbinary(max). I have successfully uploaded the file of specific format(pdf,xlx,jp or png) to my table. But now I am facing difficulty to retrieve it. I am using…
-3
votes
1 answer

Converting HEX string into int

I need help on converting the varbinary data which I acquired from sql, into int by taking 4 bits at a time. From the code above, I acquired the results as ('0x640761075D075A0.....'). My plan is to take every 4 bits & swap it (ex: 0764 0761 07D5 and…
Crn
  • 45
  • 1
  • 8
1 2 3
9
10