answersLogoWhite

0

You cannot store images in most databases; However, you may store URLs to images in a database. If you want to retrieve a URL, the SQL query would depend on the structure of the table holding the URL in question. With most databases, you would use a "SELECT" statement to begin a retrievement command (although that vastly differs).

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How do you retrieve an image from a database using PHP?

It depends what Database you are using. I personally use MySQL so will explain how you would do it using MySQL. You would have to create the MySQL database. I would store the image URL rather than the actual image. Then call it using PHP and a MySQL query. For Example: $sql = "SELECT * FROM Images WHERE Img_Name = 'img1'"; $query = mysql_query($sql); $array = mysql_fetch_array(query); then you would call it into HTML like so:


How do you save image in sql using Java?

You can convert the image into a byte stream and save it in the database as a BLOB


How do you retrieve data from an SQL database based on the values selected from combo box using jsp?

Try to repair sql database owing to utility below. Software is able to restore sql databases any version of MS SQL Server.


What is the purpose of the SLQ database?

The SQL database is the most common way to handle the data contained in a database. The type of database most often used (for example using the Microsoft Access software) is a relational database. SQL is the programming language behind a relational database. It provides for ways to organize and retrieve the data stored in the database.


How do you store and retrieve images from ms access or MySQL database using JSP source code required?

Retrieve sql data you may with the help of programming way. You need to software working with sql databases of any version SQL Server. I would recommend you to try tool below.


How do you extract information from relational database?

You can extract information from a relational database using Structured Query Language (SQL) queries. By writing SQL queries, you can retrieve data by specifying the table, columns, conditions, and sorting options to meet your requirements. This allows you to extract specific information from the database based on your criteria.


Examples of database Query?

The database we use is based on structured query language . To add or retrieve data from the database we use SQL . SQL is the structured query language that provides the syntax to add, modify, update or retrieve data from the database.


Good topics of mini project on database using sql?

sql


Which one of the following is the most efficient way to retrieve data from an MS SQL database?

SqlDataReader


Upload image file into oracle using jsp?

To upload an image file into an Oracle database using JSP, you can create an HTML form with an input type of "file" to allow users to select an image. In the JSP code, handle the file upload using the javax.servlet.http.Part interface to retrieve the uploaded file. Convert the image file into a byte array and execute an SQL INSERT statement to store the byte array into a BLOB column in the Oracle database. Ensure to include proper error handling and database connection management for a seamless upload process.


How do you save image url in database by using php?

If you can get the image url then just assign it to a php variable say: $image = (See related Link) Then you just have to add '$image' to the insert statement of your sql query Note: It would be better to store the folder path where your image is stored. That way your image will not be lost if your site moves to another server.


What database objects allows you to search for and retrieve data?

SQL queries allow you to search for and retrieve data from a database. By writing SELECT statements with specific criteria, you can search for information in tables and retrieve the results based on your query.