Viewing 8 posts - 1 through 8 (of 8 total)
sure, I post it to you.
USE [SV]
GO
/****** Object: Table [ManageStudent].[_Student] Script Date: 06/17/2009 11:38:04 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [ManageStudent].[_Student](
[StudentID] [varchar](5) COLLATE SQL_Latin1_General_CP1_CI_AS...
August 5, 2009 at 10:48 am
I replace it with :
Insert into ManageStudent._Student
Select * From ManageStudent.StudentTemp
The problem is still not solved.
August 5, 2009 at 9:59 am
insert into ManageStudent._Student exec('Select * from ManageStudent.StudentTemp')
Text above create the error. I see it quite simple, so I don't know why it has error???
August 5, 2009 at 9:44 am
ALZDBA (3/10/2009)
thieuquanghuy (3/9/2009)
...
Thanks marina.kudryashov, I wonder if Idera is a shareware.
Thanks ALZDBA, this link www.sqlservercentral.com/articles/Administration/64974/ is very useful.
and article in http://www.sqlservercentral.com/articles/Security/66151/ is interesting.
I replace FOR LOGIN_EVENT with FOR LOGON,...
March 10, 2009 at 9:07 am
RBarryYoung (3/9/2009)
Declare @sql as nvarchar(MAX)
Set @sql = ''
Select @sql = @sql
+ 'Create trigger ['+TABLE_SCHEMA'].[tr'+TABLE_NAME'_auto]
on ['+TABLE_SCHEMA'].['+TABLE_NAME'] for INSERT,UPDATE,DELETE as
{your-stuff-goes-here}
'
From INFORMATION_SCHEMA.TABLES
Where TABLE_TYPE = 'BASE TABLE'
Print...
March 9, 2009 at 10:19 pm
ALZDBA (3/9/2009)
Read my little article regarding exactly that:
www.sqlservercentral.com/articles/Administration/64974/
But If you're on sp3 you shouldn't have the problems I encountered.
I also advise to read...
March 9, 2009 at 9:19 pm
GilaMonster,ALZDBA(3/8/2009)
thieuquanghuy (3/8/2009)
Thanks. If I want to catch a log on event, how to write a trigger for it. The information will be saved is logged on name, datetime, succeeded or...
March 8, 2009 at 9:17 pm
GilaMonster,ALZDBA(3/8/2009)
thieuquanghuy (3/8/2009)
Thanks. If I want to catch a log on event, how to write a trigger for it. The information will be saved is logged on name, datetime, succeeded or...
March 8, 2009 at 9:14 pm
Viewing 8 posts - 1 through 8 (of 8 total)