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 888 posted 12 years ago by denakitan
Search SQL Server or Oracle database for keyword embedded within stored procedures, functions, triggers, etc.
0 669 posted 12 years ago by jstrawther
Can be used when looking for values that are duplicates.
0 466 posted 12 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 580 posted 12 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 955 posted 12 years ago by theonlyalterego
Can use second, Minute and many other from the url above
0 516 posted 12 years ago by jsturtevant
Where clause to select multiple rows of unique values
0 619 posted 12 years ago by the_construct
Query to find the most recent logins for a particular user ( find 1 years worth )
0 821 posted 12 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 689 posted 12 years ago by ezerick
Searches for duplicate entries in the DataBase table
1 488 posted 12 years ago by Neven
intfield has this format: YYYYMMDD
0 2600 posted 12 years ago by wnasich
0 626 posted 12 years ago by danfsmith
0 420 posted 12 years ago by amos24c
A slight adaptation on the sql in the Oracle Forum
0 876 posted 12 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 482 posted 12 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 533 posted 12 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 517 posted 12 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 558 posted 12 years ago by alberomo
Kill connections to a database to perform maintenance that requires a connectionless DB
0 404 posted 12 years ago by sommertim
The inner join could be nested too
0 772 posted 12 years ago by preasha
Select rows that are 3 months ahead or 3 months behind from the current date.
0 533 posted 12 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 556 posted 12 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 1207 posted 12 years ago by eddequincey
0 547 posted 12 years ago by samwa
Very useful sql to find which responsibility has access to a report or request.
0 1871 posted 12 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 748 posted 12 years ago by wizard04
http://beyondrelational.com/ask/nakul/questions/10/how-to-remove-server-name-item-from-sql-server-management-studio.aspx
0 1107 posted 12 years ago by derebus
1 ... 4 5 6 7 8 ... 12