Monday, March 26, 2012
Recovery from Delete statement using the transaction logs
found out it was the wrong database. Can you rollback the
delete statements and recover the data from the
transaction logs?
I assume you didn't protect the delete with BEGIN TRAN? If you did, just do ROLLBACK.
Are you performing regular transaction log backups? Is database in full or bulk logged recovery
mode? If answers to these questions are "no", you will probably need to go to your most recent
backup or just accept the data loss. If answers are "yes", you *might* be in better shape.
Anyhow, I suggest you read my article on the topic at:
http://www.karaszi.com/SQLServer/inf...eral_times.asp
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Robert" <robert@.expressprogramming.com> wrote in message
news:179b01c51500$f58a6c00$a601280a@.phx.gbl...
>I ran some delete statements in Query Analyzer and I
> found out it was the wrong database. Can you rollback the
> delete statements and recover the data from the
> transaction logs?
Recovery from Delete statement using the transaction logs
found out it was the wrong database. Can you rollback the
delete statements and recover the data from the
transaction logs'I assume you didn't protect the delete with BEGIN TRAN? If you did, just do
ROLLBACK.
Are you performing regular transaction log backups? Is database in full or b
ulk logged recovery
mode? If answers to these questions are "no", you will probably need to go t
o your most recent
backup or just accept the data loss. If answers are "yes", you *might* be in
better shape.
Anyhow, I suggest you read my article on the topic at:
http://www.karaszi.com/SQLServer/in...veral_times.asp
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Robert" <robert@.expressprogramming.com> wrote in message
news:179b01c51500$f58a6c00$a601280a@.phx.gbl...
>I ran some delete statements in Query Analyzer and I
> found out it was the wrong database. Can you rollback the
> delete statements and recover the data from the
> transaction logs'
Recovery from Delete statement using the transaction logs
found out it was the wrong database. Can you rollback the
delete statements and recover the data from the
transaction logs'I assume you didn't protect the delete with BEGIN TRAN? If you did, just do ROLLBACK.
Are you performing regular transaction log backups? Is database in full or bulk logged recovery
mode? If answers to these questions are "no", you will probably need to go to your most recent
backup or just accept the data loss. If answers are "yes", you *might* be in better shape.
Anyhow, I suggest you read my article on the topic at:
http://www.karaszi.com/SQLServer/info_restore_log_several_times.asp
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Robert" <robert@.expressprogramming.com> wrote in message
news:179b01c51500$f58a6c00$a601280a@.phx.gbl...
>I ran some delete statements in Query Analyzer and I
> found out it was the wrong database. Can you rollback the
> delete statements and recover the data from the
> transaction logs'
recovery from a delete statement
found out it was the wrong database. Can you rollback the
delete statements and recover the data from the
transaction logs'Robert wrote:
> I ran some delete statements in Query Analyzer and I
> found out it was the wrong database. Can you rollback the
> delete statements and recover the data from the
> transaction logs'
You'll have to use a log reader tool from Lumigent or LogPi. Otherwise,
you need to restore from a backup. If the table is static, you may be
able to restore the database to another (test) server and use DTS to
copy the table.
Some backup/recovery tools like our LiteSpeed product offer object level
recovery.
David Gugick
Imceda Software
www.imceda.com|||Restore a backup to a temporary database, then copy over the missing
data.
Too late now but it's a good idea to bracket your ad-hoc DML statements
with BEGIN TRAN ... ROLLBACK TRAN until you are sure that the
modification is correct. Also a good idea to have a current backup of
course :-)
David Portas
SQL Server MVP
--|||On Thu, 17 Feb 2005 06:55:14 -0800, Robert wrote:
>I ran some delete statements in Query Analyzer and I
>found out it was the wrong database. Can you rollback the
>delete statements and recover the data from the
>transaction logs'
Hi Robert,
You can't rollback after committing the transaction.
Besides the options posted by David and David, the might be one more
option for you: If your database is in full recovery mode, you can use
point in time recovery to restore yoour database to the point in time just
before you ran the unintended deletes. This will of course destroy ALL
modifications since that time, so it may or may not be usefull.
Best, Hugo
--
(Remove _NO_ and _SPAM_ to get my e-mail address)|||Might not add to the posts already posted, but I have an article about this
scenario at
http://www.karaszi.com/SQLServer/in...veral_times.asp
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Robert" <robert@.expressprogramming.com> wrote in message
news:294701c51500$b01e3480$a501280a@.phx.gbl...
>I ran some delete statements in Query Analyzer and I
> found out it was the wrong database. Can you rollback the
> delete statements and recover the data from the
> transaction logs'
Recovery deleted row
if i delete a row in a table accidently , how can i recover that rows
in case 1: just delete it a few second before
in case 2: delete it and add several rows after deleted rowsSQL Server doesn't provided a 'undelete' method. You will have to read the
transaction log using commands like DBCC LOG, or fn_dblog. But there isn't
much official documentation available about these commands. Another
alternative is to use a tool like Lumigent Log Explorer that can recover
data from the transaction log, as long as that transaction is in the
transaction log.
--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @. http://vyaskn.tripod.com/
"Joe" <Joe@.discussions.microsoft.com> wrote in message
news:CF2DC4B2-3CB8-47BA-B200-E91D03890E07@.microsoft.com...
Dear all,
if i delete a row in a table accidently , how can i recover that rows
in case 1: just delete it a few second before
in case 2: delete it and add several rows after deleted rows|||> Dear all,
> if i delete a row in a table accidently , how can i recover that rows
> in case 1: just delete it a few second before
> in case 2: delete it and add several rows after deleted rows
Backup is your friend here.
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com|||Joe
Vyas has already answered your question.
I'd like to add if do soem testing (delete,insert,update) on QA add BEGIN
TRAN before a statement and make sure that you did right thing and then
COMMIT
BEGIN TRAN
delete from Table
10000000 (rows) affected
Mistake!!!!!!!!!!!!!!!!!!!
Rollback Tran
"Joe" <Joe@.discussions.microsoft.com> wrote in message
news:CF2DC4B2-3CB8-47BA-B200-E91D03890E07@.microsoft.com...
> Dear all,
> if i delete a row in a table accidently , how can i recover that rows
> in case 1: just delete it a few second before
> in case 2: delete it and add several rows after deleted rows|||Recovery is not a method if there have some rows added after the row is
deleted!|||If you had a backup, then you could at least restore it as a different
database, and selectively copy the required rows back into your database.
--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @. http://vyaskn.tripod.com/
"Joe" <Joe@.discussions.microsoft.com> wrote in message
news:2D3C1228-60E5-4326-A55E-DF964EA474BD@.microsoft.com...
Recovery is not a method if there have some rows added after the row is
deleted!|||Hi Joe
>if i delete a row in a table accidently , how can i recover that rows
Accidents can ONLY be prevented with precautions.
You can write a trigger to avoid deletion using @.@.rowcount, if you dont have
regular deletions. You can use this to specific user also.
If you find that official regular deletions are inevitable(practically true)
use triggers to add to to history tables so that you can easily retrieve the
row you want.
Regards
R.D
"Narayana Vyas Kondreddi" wrote:
> If you had a backup, then you could at least restore it as a different
> database, and selectively copy the required rows back into your database.
> --
> HTH,
> Vyas, MVP (SQL Server)
> SQL Server Articles and Code Samples @. http://vyaskn.tripod.com/
>
> "Joe" <Joe@.discussions.microsoft.com> wrote in message
> news:2D3C1228-60E5-4326-A55E-DF964EA474BD@.microsoft.com...
> Recovery is not a method if there have some rows added after the row is
> deleted!
>
>
recovery databasse without log file
i have delete log file *.ldf
how can i do to recovery mdf database
i do not detach database before ldf was be deleted.
thanks
For SQL 2005
USE [master]
GO
CREATE DATABASE [DBNAME] ON
(FILENAME = N'C:\DATA\DBNAME_DATA.mdf')
FOR ATTACH_REBUILD_LOG
GO
Replace databasename, drive petter, folder and file name.
For SQL 2000, Try
sp_attach_single_file_db [See booksonline for usage]
Thanks
Hari
"joseph" <desquestions@.gmail.com> wrote in message
news:etORcDkdHHA.3648@.TK2MSFTNGP05.phx.gbl...
> Help
> i have delete log file *.ldf
> how can i do to recovery mdf database
> i do not detach database before ldf was be deleted.
> thanks
|||Just note that this requires a clean shutdown of the database (no recovery work needed at startup).
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
news:Ob32GTmdHHA.208@.TK2MSFTNGP05.phx.gbl...
> For SQL 2005
> USE [master]
> GO
> CREATE DATABASE [DBNAME] ON
> (FILENAME = N'C:\DATA\DBNAME_DATA.mdf')
> FOR ATTACH_REBUILD_LOG
> GO
> Replace databasename, drive petter, folder and file name.
> For SQL 2000, Try
> sp_attach_single_file_db [See booksonline for usage]
>
> Thanks
> Hari
> "joseph" <desquestions@.gmail.com> wrote in message news:etORcDkdHHA.3648@.TK2MSFTNGP05.phx.gbl...
>
recovery databasse without log file
i have delete log file *.ldf
how can i do to recovery mdf database
i do not detach database before ldf was be deleted.
thanksFor SQL 2005
USE [master]
GO
CREATE DATABASE [DBNAME] ON
(FILENAME = N'C:\DATA\DBNAME_DATA.mdf')
FOR ATTACH_REBUILD_LOG
GO
Replace databasename, drive petter, folder and file name.
For SQL 2000, Try
sp_attach_single_file_db [See booksonline for usage]
Thanks
Hari
"joseph" <desquestions@.gmail.com> wrote in message
news:etORcDkdHHA.3648@.TK2MSFTNGP05.phx.gbl...
> Help
> i have delete log file *.ldf
> how can i do to recovery mdf database
> i do not detach database before ldf was be deleted.
> thanks|||Just note that this requires a clean shutdown of the database (no recovery w
ork needed at startup).
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
news:Ob32GTmdHHA.208@.TK2MSFTNGP05.phx.gbl...
> For SQL 2005
> USE [master]
> GO
> CREATE DATABASE [DBNAME] ON
> (FILENAME = N'C:\DATA\DBNAME_DATA.mdf')
> FOR ATTACH_REBUILD_LOG
> GO
> Replace databasename, drive petter, folder and file name.
> For SQL 2000, Try
> sp_attach_single_file_db [See booksonline for usage]
>
> Thanks
> Hari
> "joseph" <desquestions@.gmail.com> wrote in message news:etORcDkdHHA.3648@.T
K2MSFTNGP05.phx.gbl...
>
recovery databasse without log file
i have delete log file *.ldf
how can i do to recovery mdf database
i do not detach database before ldf was be deleted.
thanksFor SQL 2005
USE [master]
GO
CREATE DATABASE [DBNAME] ON
(FILENAME = N'C:\DATA\DBNAME_DATA.mdf')
FOR ATTACH_REBUILD_LOG
GO
Replace databasename, drive petter, folder and file name.
For SQL 2000, Try
sp_attach_single_file_db [See booksonline for usage]
Thanks
Hari
"joseph" <desquestions@.gmail.com> wrote in message
news:etORcDkdHHA.3648@.TK2MSFTNGP05.phx.gbl...
> Help
> i have delete log file *.ldf
> how can i do to recovery mdf database
> i do not detach database before ldf was be deleted.
> thanks|||Just note that this requires a clean shutdown of the database (no recovery work needed at startup).
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
news:Ob32GTmdHHA.208@.TK2MSFTNGP05.phx.gbl...
> For SQL 2005
> USE [master]
> GO
> CREATE DATABASE [DBNAME] ON
> (FILENAME = N'C:\DATA\DBNAME_DATA.mdf')
> FOR ATTACH_REBUILD_LOG
> GO
> Replace databasename, drive petter, folder and file name.
> For SQL 2000, Try
> sp_attach_single_file_db [See booksonline for usage]
>
> Thanks
> Hari
> "joseph" <desquestions@.gmail.com> wrote in message news:etORcDkdHHA.3648@.TK2MSFTNGP05.phx.gbl...
>> Help
>> i have delete log file *.ldf
>> how can i do to recovery mdf database
>> i do not detach database before ldf was be deleted.
>> thanks
>
Recovery database
Thanks,Without the data file (mdf, ndf), you're pretty much stuck. It would help
if you've made backups. Alternatively, you could try using one of the many
disk recovery apps and hope for the best (OnTrack (commercial), Handy
Recovery (freeware)). Try not to store anything onto the disk that used to
contain the data files.
Peter Yeoh
http://www.yohz.com
Need smaller backup files? Try MiniSQLBackup
"HCNT" <anonymous@.discussions.microsoft.com> wrote in message
news:AF33FF5B-0AE0-4F04-BA3A-40E750222E29@.microsoft.com...
> I have a database, but It's delete. I only file .LDF of database, Please,
help recovery database.
> Thanks,|||Hi,
You cant recover a database with an LDF file. LDF file only contains the
active transactions information. All the data / objects will be kept in MDF
file.
Note:
A database can be recovered only if you have the MDF/NDF file for that
database. It is always recommended to take a backup of
database daily.
Thanks
Hari
MCDBA
"HCNT" <anonymous@.discussions.microsoft.com> wrote in message
news:AF33FF5B-0AE0-4F04-BA3A-40E750222E29@.microsoft.com...
> I have a database, but It's delete. I only file .LDF of database, Please,
help recovery database.
> Thanks,|||Without backup, there's nothing you can do but to rebuild your database
from scratch.
Eric
HCNT wrote:
> I have a database, but It's delete. I only file .LDF of database, Please, help recovery database.
> Thanks,
Eric Li
SQL DBA
MCDBA
Recovery database
Thanks,
Without the data file (mdf, ndf), you're pretty much stuck. It would help
if you've made backups. Alternatively, you could try using one of the many
disk recovery apps and hope for the best (OnTrack (commercial), Handy
Recovery (freeware)). Try not to store anything onto the disk that used to
contain the data files.
Peter Yeoh
http://www.yohz.com
Need smaller backup files? Try MiniSQLBackup
"HCNT" <anonymous@.discussions.microsoft.com> wrote in message
news:AF33FF5B-0AE0-4F04-BA3A-40E750222E29@.microsoft.com...
> I have a database, but It's delete. I only file .LDF of database, Please,
help recovery database.
> Thanks,
|||Hi,
You cant recover a database with an LDF file. LDF file only contains the
active transactions information. All the data / objects will be kept in MDF
file.
Note:
A database can be recovered only if you have the MDF/NDF file for that
database. It is always recommended to take a backup of
database daily.
Thanks
Hari
MCDBA
"HCNT" <anonymous@.discussions.microsoft.com> wrote in message
news:AF33FF5B-0AE0-4F04-BA3A-40E750222E29@.microsoft.com...
> I have a database, but It's delete. I only file .LDF of database, Please,
help recovery database.
> Thanks,
|||Without backup, there's nothing you can do but to rebuild your database
from scratch.
Eric
HCNT wrote:
> I have a database, but It's delete. I only file .LDF of database, Please, help recovery database.
> Thanks,
Eric Li
SQL DBA
MCDBA
sql
Recovery database
lp recovery database.
Thanks,Without the data file (mdf, ndf), you're pretty much stuck. It would help
if you've made backups. Alternatively, you could try using one of the many
disk recovery apps and hope for the best (OnTrack (commercial), Handy
Recovery (freeware)). Try not to store anything onto the disk that used to
contain the data files.
Peter Yeoh
http://www.yohz.com
Need smaller backup files? Try MiniSQLBackup
"HCNT" <anonymous@.discussions.microsoft.com> wrote in message
news:AF33FF5B-0AE0-4F04-BA3A-40E750222E29@.microsoft.com...
> I have a database, but It's delete. I only file .LDF of database, Please,
help recovery database.
> Thanks,|||Hi,
You cant recover a database with an LDF file. LDF file only contains the
active transactions information. All the data / objects will be kept in MDF
file.
Note:
A database can be recovered only if you have the MDF/NDF file for that
database. It is always recommended to take a backup of
database daily.
Thanks
Hari
MCDBA
"HCNT" <anonymous@.discussions.microsoft.com> wrote in message
news:AF33FF5B-0AE0-4F04-BA3A-40E750222E29@.microsoft.com...
> I have a database, but It's delete. I only file .LDF of database, Please,
help recovery database.
> Thanks,|||Without backup, there's nothing you can do but to rebuild your database
from scratch.
Eric
HCNT wrote:
> I have a database, but It's delete. I only file .LDF of database, Please,
help recovery database.
> Thanks,
Eric Li
SQL DBA
MCDBA
Tuesday, March 20, 2012
Recover delete the row from a table?
recover the row.
Thanks,Do you have transactional log backup and you know the time he deleted the
record, if so ,create a dump database
restore full data base to the dump
restore differential log to the dump
restore log with stopat option to the dump
and then copy the record from dump database to the real
other wise.. use a a tool called Lumigent log explorer
vt
"Mahendra" <Mahendra@.discussions.microsoft.com> wrote in message
news:CC884D41-EE2A-4557-8202-3219CAB42EA4@.microsoft.com...
> In SQL server 2000, one of co-work delete the row in a table. How can I
> recover the row.
> Thanks,|||Hi,
You can recover the deleted rows by doing a POINT_IN_TIME recovery on to a
new database.
The POINT-IN-TIME recovery will work only if the source database's Recovery
model is set to "FULL" and you should
have a full database backup + subsequent transaction log backups.
Steps:
1. Perform a transaction log backup of the original database (If you have
not performed one)
2. RESTORE DATABASE TEST1 FROM BBA (Give the correct backup file / device
name) WITH NORECOVERY
3. Restore the subsequent transaction log files in order of backup WITH
NORECOVERY option till the final transaction log file
4. In the the final transaction log restore mention WITH RECOVERY and
STOPAT='date and time'
Thanks
Hari
"Mahendra" <Mahendra@.discussions.microsoft.com> wrote in message
news:CC884D41-EE2A-4557-8202-3219CAB42EA4@.microsoft.com...
> In SQL server 2000, one of co-work delete the row in a table. How can I
> recover the row.
> Thanks,
Friday, March 9, 2012
Recover data from Transaction Log
I was going to restore the full backup database but the file is corrupt.
I have:
The last 5 days backups of Transaction Log;
The actual Transaction Log;
Can you please give me any ideas of how to restore de transaction logs backups and/or uncommitted de deletion of all rows of the table.
Thanks,
PauloDuplicate post
http://www.dbforums.com/t976254.html
Recover data after using delete statement
recover the records.
ThanksWhat types of backups do you have?
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Le Thuan" <LeThuan@.discussions.microsoft.com> wrote in message
news:51E07AEF-9549-415A-B098-F9C36E7778EA@.microsoft.com...
> Help.. I Just deleted some records a table in sql 2000. Tell me how to
> recover the records.
> Thanks|||Hi,
If the recovery model is other that simple you could recover your data by
using an utility called Log Analyzer (google it). If you have some backup
strategy which imply log backup than do a restore process with stop at clause.
Tibor Karaszi wrote:
>What types of backups do you have?
>> Help.. I Just deleted some records a table in sql 2000. Tell me how to
>> recover the records.
>> Thanks
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server/200708/1|||I don't have any backups
"Tibor Karaszi" wrote:
> What types of backups do you have?
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
> "Le Thuan" <LeThuan@.discussions.microsoft.com> wrote in message
> news:51E07AEF-9549-415A-B098-F9C36E7778EA@.microsoft.com...
> > Help.. I Just deleted some records a table in sql 2000. Tell me how to
> > recover the records.
> > Thanks
>|||Then the data is most probably gone. You could try a log reader program, but I doubt that the
information is still in the transaction log.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Le Thuan" <LeThuan@.discussions.microsoft.com> wrote in message
news:711D861E-95F9-458A-A79F-295C7FA3C14C@.microsoft.com...
>I don't have any backups
> "Tibor Karaszi" wrote:
>> What types of backups do you have?
>> --
>> Tibor Karaszi, SQL Server MVP
>> http://www.karaszi.com/sqlserver/default.asp
>> http://sqlblog.com/blogs/tibor_karaszi
>>
>> "Le Thuan" <LeThuan@.discussions.microsoft.com> wrote in message
>> news:51E07AEF-9549-415A-B098-F9C36E7778EA@.microsoft.com...
>> > Help.. I Just deleted some records a table in sql 2000. Tell me how to
>> > recover the records.
>> > Thanks
>>
Wednesday, March 7, 2012
records wont delete
statement in the Query analyzer, it never completes the statement, and
I am only deleting one record at a time. Can anyone tell me why a
record wouldn't delete?[posted and mailed, please reply in news]
alloowishus (alloowishus@.yahoo.com) writes:
> I have some records that will not delete, whenever I run a delete
> statement in the Query analyzer, it never completes the statement, and
> I am only deleting one record at a time. Can anyone tell me why a
> record wouldn't delete?
There are several possible reasons:
o The row you are trying to delete is locked by another process.
o There is a foreign-key constraint from a referencing table, and that
table is large, but the referencing column is not indexed, so
checking whether the row is deletable takes a very long time.
o A variation of the above, but the foreign-key relationship uses
cascading updates.
o The table has a DELETE trigger which takes a very long time to
execute.
To check for locking, issue an sp_who from another connection. If you see
a non-zero value in the Blk column, the process on that row is blocked by
the process in the Blk column.
To check the other, use sp_helpconstraint and sp_helptrigger to look
for constraints and triggers.
The above list is not necessarily exhaustive.
--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp
Saturday, February 25, 2012
Records dont get deleted from the database!
I am using this code to delete records from a table in the database that has two fields (both are primary keys) I am not getting any error, but nothing gets deleted. Thanks for the help.
Code:
protectedvoid btnRemove_Click(object sender,EventArgs e){
Remove();
Response.Redirect("RegisteredCompanies.aspx");
}
protectedvoid Remove(){
//update database with filename
//Save Changes
connection.Open();
using (SqlTransaction trans = connection.BeginTransaction()){
try
{
SqlHelper.ExecuteNonQuery(trans,CommandType.StoredProcedure,"spRemoveCompany",newSqlParameter("@.Userid",getGdUserID(Profile.UserName)),newSqlParameter("@.BusinessID",getBusinessID());}
catch (Exception err){
// throw exception
trans.Rollback();
lblStatus.Text ="An error has occurred in the delete process. Please try again.";
}
}
Here is the stored procedure:
ALTERPROCEDURE[dbo].[spRemoveCompany]
@.Useriduniqueidentifier OUTPUT,
@.BusinessID uniqueidentifier OUTPUT
AS
DELETEFROMAssociations2WHEREUserid = @.Userid AND BusinessID = @.BusinessID
RETURN
You must commit the transaction in your code.
|||Also, why are you using OUTPUT on your parameters?
|||yes, I used output in the stored procedure. How do i commit the transaction? Thanks!
|||Got it working now!! Thanks a lot!!