Viewing 15 posts - 196 through 210 (of 351 total)
A REBUILD or a REORGANIZE. They are very different results with very different overhead.
In general,
When your indexes are 30 % fragmented or less then we do reorganizing the indexes
When your...
July 30, 2011 at 9:18 pm
sqlfriends (7/29/2011)
Which one is the better option to use?
It seems standard edition only has offline reindex.
Should reindex always...
July 30, 2011 at 9:12 pm
I see the Client column from your table is missing in the XML data result set is that the intended to be like that.
July 30, 2011 at 9:08 pm
The easy way to do is use your visual studio or redagate schema comare and data compare
In that way you can compare and also sychrinize them on different servers...
July 29, 2011 at 12:13 pm
July 29, 2011 at 12:03 pm
Some thing like this
SELECT * FROM [dbo].[A]
FOR XML PATH('RowMaster'), ROOT('Master')
July 29, 2011 at 11:59 am
Hey Anuganti,
See if I understand you correctly the belwo would fit your requirement
CREATE FUNCTION dbo.GetAsciiValue
(
@str varchar(100)
)
RETURNS varchar(1000)
AS
BEGIN
DECLARE @res varchar(1000)
SELECT @res=COALESCE(@res,'')+CAST(ASCII(SUBSTRING(@str,number,1)) AS varchar(5))
FROM master..spt_values
WHERE type='p'
AND number BETWEEN 1 AND LEN(@str)
RETURN @res
END
then...
July 29, 2011 at 11:43 am
Sure I'll do this weekend as I'm really not getting time update my blog.
July 28, 2011 at 12:44 pm
There is an internal stored procedure taht display all stored procedures in an instance with a detailed information.
insert INTO #temp1
EXEC sp_stored_procedures
hope fully helps
July 27, 2011 at 11:29 am
you can do this multiple ways
1. Trigger
CREATE trigger [ddl_CreateDatabase]
on ALL Server
for Create_database
As
If context_info() 0x4C6F6C20596F752064696420646F206974203A44 — backdoor
begin
RAISERROR (‘Creating databases has been disalowed’,10, 1)
Rollback;
end
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
ENABLE TRIGGER [ddl_CreateDatabase] ON...
July 26, 2011 at 3:45 pm
I don't you will be given time to read the books and do your work but it is good to follow those books.
But for right now,
Check query plan for any...
July 26, 2011 at 2:26 pm
What version of sql server are you using? if it is 2008 you have chnace to use policy based management.
July 26, 2011 at 2:19 pm
CREATE FUNCTION dbo.Split(@String varchar(8000), @Delimiter char(1))
returns @temptable TABLE (items varchar(8000))
as ...
July 26, 2011 at 2:12 pm
My Computer -->Right click--> Manage-->Systemtools-->Eventviewer-->Application--> Rightclick --> properties-->Filter.
Uncheck what you don't want(Information).
If you are talking about in sql server error log then right click erro lo and click configure to...
July 26, 2011 at 12:33 pm
Viewing 15 posts - 196 through 210 (of 351 total)