Hi, friends
i want to know that how to create a query to insert a document like our CV or Resume when we retrieve it?
Query in SqlServer
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 31, 2011, 4:07 PM EDT
the only thing i can think of right now if it needs to be done by direct SQL is as follows:
INSERT INTO myTable(columnname)
SELECT * FROM
OPENROWSET(BULK N'C:\myresume.doc', SINGLE_BLOB) ;
I am assuming that myTable is having a column named "columnname" of type "varbinary(max)".
This will not work in SQL 2000 so try in higher version.