Viewing 15 posts - 496 through 510 (of 1,161 total)
Revoke the permission on master database. Grant permissions on the requisite database make it the default database for that login
October 26, 2010 at 2:24 pm
Please check if the file "C:\Program Files (x86)\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof" exists.
If it does not exist you can copy it from a server which is of the same build. It had...
October 26, 2010 at 10:09 am
It is not recommended to run Profiler trace on Production Instances. Instead use Server Side traces. An example here[/url]
October 26, 2010 at 8:21 am
1) Check the System Event Log for any related errors
2) Check the SQL Server Error Log (Errorlog)
3) Try starting the SQL Server from the Command Prompt. Details here
These options will...
October 26, 2010 at 7:29 am
Agree with Steve. Re-indexing the tables based on the value of avg_fragmentation_in_percent column in the below query is the efficient way of rebuilding indexing in SQL Server 2005 and above.
select...
October 26, 2010 at 6:43 am
Here is what mentioned in MSDN
"STATS_DATE Returns the date of the most recent update for statistics on a table or indexed view."
Read more on this here
October 26, 2010 at 5:35 am
Please take a FULL database backup before dropping the tables.
You may use the below query to delete USER tables from the database.
DECLARE @TABLENAME VARCHAR(256)
DECLARE @QRY VARCHAR(256)
DECLARE TABCURSOR CURSOR FOR
SELECT...
October 26, 2010 at 3:56 am
I was able to find the estimated_completion_time on a SPID which was in SUSPENDED state.
percent_complete estimated_completion_time status
---------------- ------------------------- ------------------------------
99.64832 77066 ...
October 26, 2010 at 3:47 am
SQL Server does not have this feature yet. There are couple of request at Connect to incorporate this feature.
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=468517
October 26, 2010 at 3:42 am
elham_azizi_62 (10/25/2010)
we want to log changing data such as isert,delete and update that users perform.we can do this.but now we want to khnow
which user do this changes?I want...
October 26, 2010 at 3:16 am
I did not understand your question correctly.
October 26, 2010 at 3:12 am
STATS_DATE() gives you the date on which the statistics for an index were update (update stats or alter index). Here is an example
SELECT
B.Name,A.Name as IndexName,
STATS_DATE ( a.id ,...
October 25, 2010 at 11:09 pm
I was referring to "Casing for built-in function names" under that option.
But it seems to control the casing for BUILT-IN Function only
October 25, 2010 at 12:46 pm
From my earlier reply.
"This query worked fine for me. Please confirm if you are connected to a SQL Server 2005 instance."
Most likely you are executing this query on a SQL...
October 25, 2010 at 6:51 am
Viewing 15 posts - 496 through 510 (of 1,161 total)