What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-11-16 16:45:21
output data in sql
<?php /* Connect to your database */ $con = mysqli_query("hostname", "username", "pwd", "database"); /* Select Columns from table*/ $sql = "SELECT * FROM `TABLE`"; /* Query your SQL code t... Add solution -
SQL 2021-11-11 10:36:17
sqlite import sql script
sqlite> .mode column -- results as columns (optional) sqlite> .header on -- columns name are displayed (optional) sqlite> .read c:/sqlite/commands.sql -- executes sql code in commands.sql (text file) sqlite3 auction.db < command... Add solution -
PHP 2021-10-22 03:51:11
HTML form, add the data into it and submit it to the database by connecting it to MySQL database using PHP.
<?php // database connection code // $con = mysqli_connect('localhost', 'database_user', 'database_password','database'); $con = mysqli_connect('localhost', 'root', '','db_connect'); // get the post records $txtName = $_POST['txtName']; $txtEmail = $... Add solution -
Python 2021-10-13 00:03:06
data don't retrieve from database view in django
#import library from django.db import connection #Create the cursor cursor = connection.cursor() #Write the SQL code sql_string = 'SELECT * FROM myview' #Execute the SQL cursor.execute(sql_string) result = cursor.fetchall() Add solution -
Other 2021-09-06 12:32:04
Explain the Stored Procedure
Stored Procedure : A stored procedure is a prepared SQL code that you can save, so the code can be reused over and over again. So if you have an SQL query that you write over and over again, save it as a stored procedure, and then just call it to execu... Add solution
Best helpers
Ranking is empty