Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Please let me know how to insert images and videos to table using SQLDeveloper.
You don't.
You can insert images or videos into an Oracle Database. You'll need a database, and a table, and at least one column setup to store your media. One way to do this is with Oracle Secure Files and the Binary Large Object Types (BLOB)
Once they're in the table, you can retrieve and update them in the client tools and applications, including SQL Developer.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to insert jpeg file in SQL. How to do this?
You probably want to use the binary, varbinary or varbinary(max) data type.
Of course, you have to convert the (JPEG) image to a byte array first in order to store it in the database. Depending on the programming language of your choice this can be easy or hard.
Not sure if you can read files from a T-SQL command and store/retrieve them from a database. Then again, I don't think you would want such a scenario in real-life.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
how to browse an image using a browse button and store that image as an image type in the database using LINQ to SQL in ASP.NET and as same as how to retrieve that image from database?
There are many articles on doing exactly this. Here are some links:
http://www.c-sharpcorner.com/uploadfile/LivMic/using-linq-when-working-with-images-in-web-application/
http://debugmode.net/2010/05/10/inserting-and-retrieving-image-using-linq-to-sql-from-asp-net-application/
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have a DataBase SQL , I did some changes in tables and datatype of this data base
but this data base contains data
I used a select Insert statement from the old database to the new one after edit
Is it the best way to bring he data to the new database or I can use better way ??
It depends why you are doing it and when.
If you are doing this as a one off process on your development machine and there is only a small number of simple tables then this approach will be fine
If you are doing it for a larger number of tables, need it to be re-runnable or want a GUI then use SSIS or "SQL Server Import and Export Wizard". It's easy to use.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Im wondering for what the SQL database project template exists. I have created one and inserted a table with some col. Now i saved that, so i want to write Into that mdf-file Form a Windows forms project. I dont know how to acces that or even if this SQL project template is ment for that sort of usage. Is this a good solution for a local database?
Sry for that kind or basic question
The database project exists so that you can store the database structure in source control, generate and deploy the database (or upgrade scripts).
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Hey guys. I have a quick question to understand what this means for my project. I am supposed to have my usernames be unique (and enforced at a database level). What does this mean when referring to database level? I am using ASP.net MVC5 with SQL Express as my database.
You are supposed to make certain only unique names are in the database, so you can look at this for more
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/f7ded633-5d66-4cda-a525-96ab97cee868/sqlexpress-create-unique-column
Basically do
Alter table users add constraint uniq_user unique(username)