answersLogoWhite

0

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

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

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

To save an image URL in a database using PHP, you can create a table with a column to store the URL. When inserting data, you can use SQL queries with PHP to insert the URL into the database. Make sure to properly sanitize and validate the input to prevent SQL injection or other security vulnerabilities.


Can we use SQL for java language?

No. SQL stands for Structured Query Language and that in itself is a language and it is totally different from Java. However, you can use SQL queries inside Java code with the help of JDBC (Java DataBase Connectivity). But the Java compiler cannot understand/compile standalone SQL syntax unless it is used as part of JDBC.


What are the uses of java database connectivity?

Java Database Connectivity, a Java API that enables Java programs to execute SQL statements. This allows Java programs to interact with any SQL-compliant database.


How do you save Urdu into Sql Server 2000 using VBNET?

Hi follow this link for save urdu in database using c sharp source code also attach for download.. <a href="http://codingresolved.com/discussion/218/how-to-save-urdu-in-sql-server-using-c#Item_1">http://codingresolved.com/discu ssion/218/how-to-save-urdu-in-sql-server-using-c#Item_1</a>


What are the statements in java?

There are many kinds of statements that are used in Java and they are predominantly used for database connectivity using JDBCEx:PreparedStatement - for normal SQL QueriesCallableStatement - for stored procedures


What is Oracle SQL Developer software used for?

Oracle SQL Developer software is a free development environment software package. It enables users to develop software applications using Java for Oracle databases.


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 can you connet java with sql in java programming?

JDBC mean Java Database Connectivity. In java, using JDBC drivers, we can connect to database. Steps to connect to JDBC. 1) Load the driver, using Class.forName(DriverName); 2) Get the connection object, Connection con = Driver.getConnection(loaded driver name); 3) Create a SQL statement, Statement s = con.createStatement(); 4) Create Resultset object using the statement created above, ResultSet rs = s.executeQuery("sql statement"); Iterate the result set to get all the values from the database. Finally don't miss this 5) s.close(); 6) con.close() ;


How do you convert java data to SQL data?

kill urself


How can connect sql server 2005 with java in java?

Use the JDBC functionality to open a connection to SQL Server. You can read up on how here: http://java.sun.com/javase/technologies/database/


Is learning SQL easy for a Java student?

SQL is quite unrelated to Java. It isn't exactly a programming language in the traditional sense; but rather a series of commands to get information from (and to) a database. The basics are actually quite simple; certainly simpler than learning Java.


What is the definition of SQL training?

The definition of SQL training is learning how to code in JAVA and PERL, which are two rather important coding languages in computer science and are significant.