Viewing 15 posts - 1,996 through 2,010 (of 6,036 total)
The best way is not to do it.
April 29, 2013 at 9:31 pm
The couse of this trouble is "resolving views" or "opening derived tables" behaviour which was once fixed in SQL2000 SP3 and sadly reintroduced in SQL2000 SP4.
It stays with us since...
April 29, 2013 at 8:47 pm
You probably do not need all that excessive "in code" checking.
The whole point of those checks is to make sure there would not be any error.
Which is good (as for...
April 29, 2013 at 8:22 pm
I made up a quick test to verify Gila's suggestion.
Very interesting outcome.
Whoever is curios try to run this:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
create proc [dbo].
as
begin
declare @i table (id int, NAME nvarchar(150))
select...
April 29, 2013 at 7:44 pm
What dynamic SQL is for?
CREATE PROCEDURE [dbo].[ProSearchStudent]
@search varchar(50) = ''
AS
IF (DATALENGTH(RTRIM(LTRIM((@Search))))) = 0
...
April 27, 2013 at 4:18 pm
opc.three (4/26/2013)
For a database that does not need point in time recovery,
Which means - can afford to lose data.
Which is not the case by default.
yes, I would recommend changing...
April 27, 2013 at 2:18 am
Are you in some kind of competition for a stupidiest advice ever?
Is it what you suggest your poor customers: switch recovery mode on all databases to SIMPLE???
So they do not...
April 26, 2013 at 7:38 pm
opc.three (4/26/2013)
PowerShell has security scaffolding in place
You might be surprised - but SQL Server has it too.
And cowboy developers may (most certainly will) ignore that scaffolding in PowerShell as well...
April 26, 2013 at 10:05 am
opc.three (4/24/2013)
April 26, 2013 at 9:59 am
opc.three (4/26/2013)
April 26, 2013 at 9:34 am
FULL backup takes care only about data pages from data files.
It does not touch TRN log file at all.
You need to release some sppace in log file by doing BACKUP...
April 25, 2013 at 8:16 pm
VBS is out of fashion.
There is a new kid on the block with huge marketing budget attached to it.
Everybody must immediately forget about the old and proven tool.
April 24, 2013 at 4:23 am
j.a.c (3/27/2013)
Hi,Are there any sessions that have been running for a long time? Any by long time I mean running for days.
Yep, first thing to look.
Faced the same problem...
April 24, 2013 at 4:12 am
geoff5 (4/23/2013)
April 24, 2013 at 12:41 am
INSTEAD OF trigger would be useful for the task.
Look up BOL for details.
But I support Andrew in his suggestions - regular job is more preferrable for such tasks.
Or call deletion...
April 23, 2013 at 6:57 pm
Viewing 15 posts - 1,996 through 2,010 (of 6,036 total)