Quantcast
Channel: Questions in topic: "dml"
Browsing all 19 articles
Browse latest View live

What is DML in T-SQL?

I see lots of articles that use the term DML. What exactly does this mean and what are examples of it? Are all T-SQL statements DML?

View Article



Where excatly we can use cursor in T-SQL programming??

Hi,Im a junior level SQl developer/Admin.Can anybody explain where exactly we can use cursors in T-SQL programming and what are the benifits when we compare cursor with simple DML statements.Can...

View Article

How to find the when the row was inserted into the table?

I need to find the date i inserted a particular row in the table. Seeking help...

View Article

Insert Statement

insert two phone no's into one column separated by comma with single insert statement CREATE table phone ( name varchar(20), contact varchar(30) ) Output: name Contact SSC 123-45-6789,987-65-4321'

View Article

StoredProcedure Changes Tracking

Hi All, I Need to identify stored procedure Changes(i.e altered by anyone) through DML triggers even if the stored procedure is encrypted. Please let me know any useful tips references to start with....

View Article


DML Triggers for auditing

Hi, I want to track all the DML changes on a database. I am using SQL Server 2008R2 Express edition hence can use only Triggers.I know that DDL Triggers are used on a database to track the changes but...

View Article

What is DML in T-SQL?

I see lots of articles that use the term DML. What exactly does this mean and what are examples of it? Are all T-SQL statements DML?

View Article

Where excatly we can use cursor in T-SQL programming??

Hi,Im a junior level SQl developer/Admin.Can anybody explain where exactly we can use cursors in T-SQL programming and what are the benifits when we compare cursor with simple DML statements.Can...

View Article


How to find the when the row was inserted into the table?

I need to find the date i inserted a particular row in the table. Seeking help...

View Article


Insert Statement

insert two phone no's into one column separated by comma with single insert statement CREATE table phone ( name varchar(20), contact varchar(30) ) Output: name Contact SSC 123-45-6789,987-65-4321'

View Article

StoredProcedure Changes Tracking

Hi All, I Need to identify stored procedure Changes(i.e altered by anyone) through DML triggers even if the stored procedure is encrypted. Please let me know any useful tips references to start with....

View Article

DML Triggers for auditing

Hi, I want to track all the DML changes on a database. I am using SQL Server 2008R2 Express edition hence can use only Triggers.I know that DDL Triggers are used on a database to track the changes but...

View Article

Updating Two Tables Through a View

What is as good work around to updating multiple tables through a view, other than following best practice / common sensibility of writing the DML against the base tables ore creating triggers? (My...

View Article


Table Performance Issue

Hi, I have a table on which DML operation like Insert/Update/Delete is happening. In the same time users are trying to fetch data from that table(using Select). But it leads to performance issue and it...

View Article

Atomic Operation

I have 2 sp's, SP 'B' is called after SP 'A'. SP 'A' delete's the data from Table XYZ,Then SP B Insert's Data in Table XYZ. Suppose, due to some exception SP 'B' fails then I have implemented a logic...

View Article


how to audit a table (DML actions) with specific conditions (mssql 2014)

Hi, i would like to audit DML operations on a table (deletes mostly) but the problem is, that it needs to answer a specific condition. i need to catch a specific condition of columns (for example, i...

View Article

DML trigger for auditing loginname,hostname,ipadress,programname an dml...

Hi Everybody, I am trying to setup a DML trigger to capture Programname,Loginname,Ip adress,Hostname along with Insert Update delete statements that have been executed.I did pursue options like...

View Article


Automate SQL Script with Multiple Statements

I have a SQL script that works exactly as I want it to when I step through it line by line. At first, this was a viable option, but the script has gotten larger over time and stepping through it now...

View Article

How to resolve "Invalid column name 'XXXXXX' " on query to persist data in...

Hi, everyone,I am trying to add a column to a table to save time in seconds. I already have a TIME column, lets call it column A, from which I want to seed data to my new column, lets call it column...

View Article
Browsing all 19 articles
Browse latest View live




Latest Images