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 ArticleWhere 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 ArticleHow 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 ArticleInsert 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 ArticleStoredProcedure 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 ArticleDML 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 ArticleWhat 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 ArticleWhere 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 ArticleHow 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 ArticleInsert 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 ArticleStoredProcedure 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 ArticleDML 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 ArticleUpdating 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 ArticleTable 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 ArticleAtomic 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 Articlehow 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 ArticleDML 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 ArticleAutomate 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 ArticleHow 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
More Pages to Explore .....