SQL INSERT Questions

1

Trigger over table that uses transaction inserts
I have a table that is being updated via JDBC. The program that is writing records (sql insert) is using transactions. This table has an after insert trigger on it. When the trigger is disabled the table is updates correctly. When the trigger is on we get the first record and the tigger locks the [...]

Answer Question   |  February 28, 2012  5:23 PM
iSeries, JDBC, SQL INSERT, Triggers
asked by:
KSC
90 pts.

Bulk Insert Problem in SQL Server Management Studio 2005
Hi. I’m running into an issue performing a bulk insert. I’ve taken the following steps: Created a table Created a schema file with a .fmt extension Created a stored procedure to insert a file When I attempt the bulk insert I get the following error message: Cannot bulk load because the file “g:USB06182010.txt” could not [...]

Answer Question   |  June 21, 2010  3:46 PM
SQL INSERT, SQL Server Management Studio 2005, T/SQL
asked by:
175 pts.

SQL auto increment by group with INSERT..
Is it possible to define an auto-incremental coloumn which increments by ‘group’ ? I want to create a version log for an old table (uniquely keyed ‘HOWTONO’) which contains records with ‘How to’ data in the form of short code-fields and some long fields with text.  I intend to trigger updates, inserts  and deletions from [...]

Answer Question   |  August 25, 2009  11:19 AM
AS/400, Incremental backup, SQL, SQL INSERT, V6R1
asked by:
2,540 pts.

Select into vs Insert into in SQL Server
Hi experts, What is better between Select into vs Insert into in SQL Server when it comes to performance? thx

Answer Question   |  September 1, 2010  4:36 PM
SQL INSERT, SQL performance, SQL Server 2000
asked by:
DBM
10 pts.

help on Bulk insert and xp_cmdshell rename
Hi, I have a csv with only one field with multiple rows, when i am using bulk insert to insert into sql server table, all the rows are inserted in to single column instead of multiple rows.I dont have a delimiter. csv file: (First row is blank) apple bat cat doll when i used the [...]

Answer Question   |  March 5, 2009  6:49 PM
Bulk Inserts, CSV, SQL INSERT, T-SQL
asked by:
GIG
240 pts.

1