Manage PlItems

You may optionally enter a comparison operator (<, <=, >, >=, <> or =) at the beginning of each of your search values to specify how the comparison should be done.

Advanced Search
Displaying 241-250 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
181PL/pgSQLDatenbankNULL Wert eines Feldes übersteuernSELECT COALESCE(MyColumn1, 1.0) AS MyColumnWithoutNULL;View Update Delete
206MySQLDatenbankTabelle DB übergreifend kopierenDROP TABLE IF EXISTS `DestinationDB`.`Table1`; CREATE TABLE `DestinationDB`.`Table1` SELECT * FROM `SourceDB`.`Table1`;View Update Delete
207T-SQLDatenbankManuell einen AutoIncrement/Identity/Serial Wert in Tabelle einfügenSET IDENTITY_INSERT myTable ON INSERT INTO myTable(Identity_ID, Value) VALUES (4711, 'Back To The Future...') SET IDENTITY_INSERT myTable OFFView Update Delete
208PL/pgSQLDatenbankTabelleinhalt DB übergreifend kopieren-- siehe auch: http://stackoverflow.com/questions/6083132/postgresql-insert-into-select -- in DestinationDB do: INSERT INTO Table1 SELECT id, valuefield FROM dblink('dbname=SourceDB', 'SELECT id, valuefield FROM Table1') AS t(id integer, valuefield varchar(100)); View Update Delete
213T-SQLDatenbankDB-Funktion erstellen-- Table-value -- Variant 1 CREATE FUNCTION whichContinent (@country nvarchar(15)) RETURNS TABLE AS RETURN ( SELECT @country AS Country ) -- Variant 2 CREATE FUNCTION whichContinent (@country nvarchar(15)) RETURNS @returnTableResult TABLE ( id int ,currency VARCHAR(100) ) AS BEGIN IF @country='Germany' BEGIN INSERT INTO @returnTableResult VALUES (1,'EURO') END RETURN END View Update Delete
222MySQLDatenbankNULL Wert eines Feldes übersteuernSELECT IFNULL(MyColumn1, 1) AS MyColumnWithoutNULL;View Update Delete
235MySQLDatenbankAktuellen Datenbanknamen ausgebenSELECT DATABASE() AS DB_Name;View Update Delete
244T-SQLDatenbankSQL SELECT Statische WerteSELECT * FROM ( VALUES (1, 2), (3, 4) ) AS q (col1, col2) GO -- the same as: SELECT 1 AS col1, 2 AS col2 UNION ALL SELECT 3 AS col1, 4 AS col2 GO -- col1 | col2 -- =========== -- 1 | 2 -- ----------- -- 3 | 4 View Update Delete
245PL/pgSQLDatenbankSQL SELECT Statische WerteSELECT * FROM ( VALUES (1, 2), (3, 4) ) AS q (col1, col2) ; -- the same as: SELECT 1 AS col1, 2 AS col2 UNION ALL SELECT 3 AS col1, 4 AS col2 ; -- col1 | col2 -- =========== -- 1 | 2 -- ----------- -- 3 | 4 View Update Delete
247ORACLE PL/SQLDatenbankCSV erstellenSELECT FieldA, LISTAGG(CSVItem, ',') WITHIN GROUP (ORDER BY FieldA) AS Members FROM TableWithItems GROUP BY FieldA;View Update Delete