HI, thanks for the reply.
Actually, im able to create and read binary file, bt am unable to store the file in a sql database and retrieve it in the same format.
I also tried storing an array in the database. As mentioned in labview, to store an array we need to define "binary" as the datatype in the sql database, but when i retrieve this array, im not getting the same array, im getting some very wierd values. why is this happening. Also, if i have to store a binary file larger than 8KB, do i have to use the "image" datatype in sql database, how do i readthis "image" file in labview, what is the supported datatype in labview for the "image" datatype of sql database.