Top "Dml" questions

Data Manipulation Language(DML) is database syntax used for SQL commands, including the INSERT, UPDATE, and DELETE statements.

Dynamically replacing the value of a node in XML DML

I am struggling with this now: How do you replace the value of a node in an untyped XML column …

sql-server xml tsql xquery dml
How to enter new line using sql command INSERT

Q: I wanna to know the syntax of SQL query of inserting new line in my table. I mean ,I …

sql newline informix dml
How Can I code a "IF UPDATING" trigger in Oracle Database 10g?

I'm coding a Trigger to ensure only one type of money can be set as official. My intention is code …

oracle plsql triggers dml mutating-table
Update a table with values from another table

I have a table (say,ABC) which has the following structure : COMP_CODE NAME SALARY SID1 ------------------------------------- NULL Alex 42000 85 NULL …

sql oracle plsql cursor dml
PostgreSQL 8.4 grant DML privileges on all tables to a role

How do I go about granting DML (SELECT,INSERT,UPDATE,DELETE) on all tables in a schema in PostgreSQL 8.4? I'd …

postgresql grant dml
SQL HAVING COUNT and JOIN

I have tried to this query: What are the doctors that work on less than 2 Hospitals. But the result isn't …

sql dml
mysql @@identity vs sql-server last_insert_id()

Am I correct in understanding that mysql's LAST_INSERT_ID() function doesn't reset between insert attempts (as @@identity does in …

sql mysql sql-server stored-procedures dml
Using WITH + DELETE clause in a single query in postgresql

I have the following table structure, for a table named listens with PRIMARYKEY on (uid,timestamp) Column | Type | Modifiers ----------------+…

sql postgresql common-table-expression dml
MIXED_DML_OPERATION error in Salesforce Apex Trigger when updating User objects

I have a trigger on a Contact object and when I try to update a User record in this trigger …

salesforce apex-code dml
MySQL 5.5 add foreign key fails with errors [HY000][150] and [HY000][1005]

I have tried adding a foreign key like this... ALTER TABLE OrderLineItem ADD CONSTRAINT FK_OrderLineItem_ShippingType_name FOREIGN KEY (…

mysql foreign-keys dml