Re: archieving and deleting SQL 2000 table
From: A. Tolga KILINĒ (kilinc@tis.havelsan.com.tr)
Date: 10/25/02
- Next message: Lisa: "RE: VPN NT Authentication"
- Previous message: Dan Guzman: "Re: mssql password file"
- In reply to: Narayana Vyas Kondreddi: "Re: archieving and deleting SQL 2000 table"
- Next in thread: Narayana Vyas Kondreddi: "Re: archieving and deleting SQL 2000 table"
- Reply: Narayana Vyas Kondreddi: "Re: archieving and deleting SQL 2000 table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "A. Tolga KILINĒ" <kilinc@tis.havelsan.com.tr> Date: Fri, 25 Oct 2002 16:20:48 +0300
Hi,
I really find your site useful. I tried the stored procedure you give but
there are some problems with it. First, I created a similar database for
copying but I have such an error: "Error 8101: An explicit value for the
identity column in table 'Master.dbo.COPYTABLE' can only be specified when a
column list is used and IDENTITY_INSERT is ON" .
I set the IDENTITY_INSERT on but it did not worked.
How to solve this?
Secondly, can I get an email alert when this procedure runs or when someone
deletes the original table? how?
Regards,
Tolga
"Narayana Vyas Kondreddi" <answer_me@hotmail.com> wrote in message
news:e2LFZTCfCHA.2240@tkmsftngp10...
> For info on archiving, try this link:
> http://vyaskn.tripod.com/sql_archive_data.htm
>
> --
> HTH,
> Vyas, MVP (SQL Server)
> SQL Server FAQ, articles, code samples, interview questions and more @
> http://vyaskn.tripod.com/
>
>
> "A. Tolga KILINĒ" <kilinc@tis.havelsan.com.tr> wrote in message
> news:Otut8Y$eCHA.2544@tkmsftngp11...
> > Hi,
> > there is a strict requirement from one of my customer that some SQL
tables
> > never deleted before they are archieved. First problem is how to achieve
> > archieving? Can I do backup instead??
> > I can set a user as backup operator, but then he can not delete the
table.
> > If I give rights to delete it, he can do it without backing it up!!
> > Please suggest a solution about the requirement.
> > Regards,
> > Tolga
> >
> >
>
>
- Next message: Lisa: "RE: VPN NT Authentication"
- Previous message: Dan Guzman: "Re: mssql password file"
- In reply to: Narayana Vyas Kondreddi: "Re: archieving and deleting SQL 2000 table"
- Next in thread: Narayana Vyas Kondreddi: "Re: archieving and deleting SQL 2000 table"
- Reply: Narayana Vyas Kondreddi: "Re: archieving and deleting SQL 2000 table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|