Click here to Skip to main content
15,880,725 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir/Friends
Is it possible to save AutoCAD drawing (.gwd) file to SQL Server...?
please guide me
thanks.

What I have tried:

Dear Sir/Friends
i want to save autoCAD drawing file .gwd format to save in database using SQL Server, it is possible to save and retrieve it from database?
Posted
Updated 27-Sep-16 23:40pm
v2

1 solution

Yes.
You can store any data in SQL that you need to - but if it's seriously big then it can use a lot of bandwidth when you retrieve them. In that case, it's better to keep the file in a file system, and store the path to that file in the DB. Since one user at a time will generally access the file, that frees up SQL bandwidth for other users.

If you use a SQL VARBINARY(MAX) column, you can store any type of data in there - again, you will probably want another field to hold the file name.
 
Share this answer
 
Comments
Karthik_Mahalingam 29-Sep-16 1:13am    
5
Baloch_khan 6-Nov-16 14:32pm    
Thank your sir OriginalGriff
any code example...? in vb.net

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900