Welcome To Snipplr
Everyone's Recent Snippets Tagged sql
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
A few examples of the Oracle RPAD function, with some tables being set up.
        
        
        
            0 
        
        
            1064 
        
                    posted 8 years ago by bbrumm
            Some examples of the Oracle LISTAGG function, including setting up the tables.
        
        
        
            0 
        
        
            1566 
        
                    posted 8 years ago by bbrumm
            Some examples of the NVL2 function in Oracle, including setup table.
        
        
        
            0 
        
        
            1135 
        
                    posted 8 years ago by bbrumm
            A few examples of the CONCAT function, including setting up the example tables.
        
        
        
            0 
        
        
            1085 
        
                    posted 8 years ago by bbrumm
            A few examples of the Oracle TO_CHAR function, which works on numbers and dates.
        
        
        
            0 
        
        
            940 
        
                    posted 8 years ago by bbrumm
            Insertar registros bloqueando mientras se realiza el proceso.
        
        
        
            0 
        
        
            1104 
        
                    posted 9 years ago by systemergon
            Conexión a base de datos con los parametros que llega del contructor
        
        
        
            0 
        
        
            3279 
        
                    posted 9 years ago by systemergon
            Cuando requerimos hacer consultas que devuelvan todos los registros y al mismo tiempo si se desea filtrar por algunos campos se filtra por los parámetros devueltos
ej. en el 
WHERE (U.UnidadAplicativaId = @UnidadAplicativaId OR @UnidadAplicativaId...
        
        
        
            0 
        
        
            1043 
        
                    posted 9 years ago by systemergon
            This lite fiuntion is a simple organizator rowcount for all datatables for one single database.
        
        
        
            0 
        
        
            1115 
        
                    posted 9 years ago by achavesm302
            Created as reply to question on ittoolbox.com:"Need your help in writing a query to pull audit history i.e. Last updated by a user 'XYZ' and for the same record key (ID) the second last record in the audit history table. i.e. Last update by this user...
        
        
        
            0 
        
        
            3361 
        
                    posted 10 years ago by bvwatson
            Written as reply to question on ittoolbox.com:"I need to execute a query in vb which can find multiple value provided by the user to find from a single column of a table."
[http://database.ittoolbox.com/groups/technical-functional/sql-l/query-to-fin...
        
        
        
            0 
        
        
            1535 
        
                    posted 10 years ago by bvwatson
            Moving a wordpress site for local dev, to staging, to production? This SQL snippet has done the job more often than not. It may not be 100% full proof but it has saved my butt hundreds of times. Please, if you know other tables or enhancements share...
        
        
        
            0 
        
        
            2307 
        
                    posted 10 years ago by brownrl
            In SQL I can get this by adding AND to the join
LEFT JOIN installations i ON a.id = i.app AND i.page = :page
This way I get the installation info for an app that has an installation on the page, but I get null values on the columns for app's that...
        
        
        
            0 
        
        
            4443 
        
                    posted 10 years ago by satie83
            I thought I share this code snippet because I find this way of SMS sending an easy solution. I believe that even beginners can implement this VB.NET SQL SMS application, but I think some extent of perfection in the SMS technology is required for bett...
        
        
        
            0 
        
        
            3973 
        
                    posted 10 years ago by LoganTurn
            This only shows public procedures, not the privates one declares only in packages body.
        
        
        
            0 
        
        
            1140 
        
                    posted 10 years ago by Igeco
            
