Viewing 15 posts - 2,101 through 2,115 (of 5,394 total)
I did a similar thing some years ago.
Here's the code:
CREATE TRIGGER [TR_LOGON_APP]
ON ALL SERVER
FOR LOGON
AS
BEGIN
DECLARE @program_name nvarchar(128)
DECLARE @host_name nvarchar(128)
SELECT @program_name = program_name,
@host_name = host_name
FROM sys.dm_exec_sessions AS c
WHERE c.session_id...
January 16, 2012 at 6:20 am
aseel.pa (1/16/2012)
Can you please tell me how will i take the reports after all these?Many thanks for your support.
Reports? Which reports? Can you clarify please?
January 16, 2012 at 6:18 am
Depends on the edition you are running. Enterprise edition has a feature called "fast recovery", that other editions don't have.
In normal recovery, the database becomes available when the recovery process...
January 16, 2012 at 6:16 am
PATINDEX should do the trick:
DECLARE @SampleData TABLE (
data nvarchar(max)
)
INSERT INTO @SampleData VALUES (N'<Booking Reference="XXXXX"> <Purchases> <Train Reference="00000000"> <Travellers> <Adult> <Title>Mr.</Title> <FirstName>Test</FirstName> <LastName>Testington</LastName> </Adult> </Travellers> <Outbound> <RailLeg OriginStation="MANCHESTER OXFORD ROAD" DepartDateTime="2011-11-25T07:15:00"...
January 16, 2012 at 4:15 am
Paul Bukowski (1/15/2012)
January 16, 2012 at 3:23 am
Welsh Corgi (1/15/2012)
Does anyone used the Resource Governor in a VM Environment?Currently looking at multiple instances of SQL Server?
What is your concern exactly?
January 16, 2012 at 3:20 am
aseel.pa (1/16/2012)
Is it possible to Add / Edit / Delete operations from this tool? or do i need to write any programs for this?Thanks,
Sure. You can do most of the...
January 16, 2012 at 3:15 am
SSIS seems to me the best tool for this task.
You can set it up easily with the Import/export wizard (right click the database node in SSMS and select tasks, import...
January 16, 2012 at 2:57 am
GilaMonster (1/13/2012)
January 13, 2012 at 4:06 pm
GSquared (1/13/2012)
Does that clarify why I consider it a mildly bad idea?
My CS teachers at university would have considered it a very bad idea and I would never have passed...
January 13, 2012 at 2:50 pm
No, in fact it's not a trick question at all, when you know the answer. 🙂
Believe it or not, I never had to take a tail log backup in ten...
January 13, 2012 at 2:45 pm
JAZZ Master (1/13/2012)
Went with the standard, nothing is "always" until proven otherwise.
I could smell the trick from miles, but I clicked on "Yes" to prove myself I'm just a paranoid....
January 13, 2012 at 11:26 am
Maybe not, but you could always do it the other way round.
January 13, 2012 at 9:45 am
DBMail IMHO is a far better option.
CDO needs enabling OLE automation, which is not a good idea if you wanto to keep your surface as little as possible.
DBMail works good...
January 13, 2012 at 8:51 am
Viewing 15 posts - 2,101 through 2,115 (of 5,394 total)