Welcome To Snipplr


Everyone's Recent SQL Snippets Tagged sql



1 ... 4 5 6 7 8 ... 12
Example of SQL syntax to add a new column to an existing table, define a default value to the columns for the existing rows and also add a check constraint to limit the values that the column can hold.
0 1326 posted 13 years ago by denakitan
Search SQL Server or Oracle database for keyword embedded within stored procedures, functions, triggers, etc.
0 1037 posted 13 years ago by jstrawther
Can be used when looking for values that are duplicates.
0 812 posted 13 years ago by BrentS
in order to avoid the .zip madness when creating a new module, you can make it available in the backend by firing a simple SQL in your DB. (mod_media is the name of the folder that holds it)
0 975 posted 13 years ago by iroybot
This query will retrieve a list of the parameters and value sets based on a provided concurrent program user name
0 1485 posted 13 years ago by theonlyalterego
Can use second, Minute and many other from the url above
0 873 posted 13 years ago by jsturtevant
Where clause to select multiple rows of unique values
0 994 posted 13 years ago by the_construct
Query to find the most recent logins for a particular user ( find 1 years worth )
0 1193 posted 13 years ago by theonlyalterego
This code allows you to create an ID field value for inserts into a table that does not auto increment itself
0 1035 posted 13 years ago by ezerick
Searches for duplicate entries in the DataBase table
1 786 posted 13 years ago by Neven
intfield has this format: YYYYMMDD
0 3131 posted 13 years ago by wnasich
0 965 posted 13 years ago by danfsmith
0 712 posted 13 years ago by amos24c
A slight adaptation on the sql in the Oracle Forum
0 1374 posted 13 years ago by theonlyalterego
Sintáxis y clausulas más habituales para consulas SQL con cláusula DELETE que elimina uno o varios registros de la tabla que se especifica.
0 816 posted 13 years ago by alberomo
Sintáxis y clausulas más habituales para consulas SQL con cláusula UPDATE que actualiza/modifica uno o varios registros de la tabla que se especifica.
0 895 posted 13 years ago by alberomo
Sintáxis y clausulas más habituales para consulas SQL con cláusula INSERT INTO que añade un nuevo registro a la tabla que se especifica.
0 879 posted 13 years ago by alberomo
Sintáxis y clausulas más habituales para consulas SQL con cláusula SELECT que generen una nueva tabla con el resultado de la consulta. Su sintáxis genérica es SELECT [campos] FROM [tablas] WHERE [criterio]
0 910 posted 13 years ago by alberomo
Kill connections to a database to perform maintenance that requires a connectionless DB
0 669 posted 13 years ago by sommertim
The inner join could be nested too
0 1196 posted 13 years ago by preasha
Select rows that are 3 months ahead or 3 months behind from the current date.
0 843 posted 13 years ago by jafar
To start my new post area I will share a simple stored procedure that will check if a record exists, if so update it, otherwise create it; Simple hum?! Just Update it to your needs :)
0 906 posted 13 years ago by Whiteagle
[Query related to PHP code to save tweets from the twitter search API to a MySQL database](http://snipplr.com/view/56994/save-tweets-using-php-from-the-twitter-search-api-to-a-mysql-database/ "PHP code to save tweets from the twitter search API to a...
0 1735 posted 13 years ago by eddequincey
0 925 posted 13 years ago by samwa
Very useful sql to find which responsibility has access to a report or request.
0 2631 posted 14 years ago by theonlyalterego
Get the value of the autonumber field for the last record inserted into an Access database via the current connection.
0 1131 posted 14 years ago by wizard04
http://beyondrelational.com/ask/nakul/questions/10/how-to-remove-server-name-item-from-sql-server-management-studio.aspx
0 1573 posted 14 years ago by derebus
1 ... 4 5 6 7 8 ... 12