Welcome To Snipplr


Everyone's Recent Snippets Tagged sql



1 ... 9 10 11 12 13 ... 17
Use the text files Preview Handler to display SQL files.
2 3493 posted 15 years ago by ggponti
1 1686 posted 15 years ago by jmcd
4 2001 posted 15 years ago by emregulcan
You can run this sql scripts in your database. Firstly it creates a database and after insert records (timezones)
4 1891 posted 15 years ago by emregulcan
0 1514 posted 15 years ago by Jamie
See the DBLinks that you have created in the past
0 1521 posted 15 years ago by mprabhuram
use this to convert the oracle time stamp into a character.
0 1518 posted 15 years ago by mprabhuram
1 1484 posted 15 years ago by vedgiee
This snippet just updates your tables which infected "<script> </script>" code blocks. You must update all columns one by one.
2 1880 posted 15 years ago by emregulcan
5 1819 posted 15 years ago by Nettuts
You can use this SP like that; Exec CleanInjection 'INFECTED WORD','CLEAN WORD' (in use : Exec CleanInjection '<script></script>','')
2 1845 posted 15 years ago by emregulcan
Use this logic to avoid double counting in ORACLE SQL
1 1582 posted 15 years ago by mprabhuram
This function can be used to find out if there exists an overlap between two pairs of dates or time. There is an alternate way to calculate the actual overlapping value - Read the snippet "How to avoid double counts"
0 4209 posted 15 years ago by mprabhuram
SQL to alter field contents. linked article is in german.
1 1657 posted 15 years ago by iroybot
ROW_NUMBER() - Partition (group by) the expression values and assigns integer values to the rows depending on their order. thx to Shouvik Basu < http://www.orafaq.com/node/55 >
0 1335 posted 15 years ago by mprabhuram
1 1234 posted 15 years ago by tvanzele
1 1258 posted 15 years ago by tvanzele
1 1732 posted 15 years ago by BoNzO
http://glennberrysqlperformance.spaces.live.com/blog/cns!45041418ECCAA960!2991.entry
1 1066 posted 15 years ago by tvanzele
Finds the location of the log and data files for every database in SQL Server
1 1502 posted 15 years ago by tcphll
Sql para agregar las regiones de Chile en Magento. Utilizado para calcular las tarifas de los envíos. Probado a través del phpmyadmin en una nueva instalación de magento 1.4.x (probablemente funcione con versiones anteriores) Para el tutorial d...
0 1520 posted 15 years ago by jstnno
0 1294 posted 15 years ago by tvanzele
1 ... 9 10 11 12 13 ... 17