Viewing 15 posts - 61 through 75 (of 186 total)
I will try using index.Before that i want to know how can i find the reason for slow running of query.(It may be due to network latency,table in high usage...
July 23, 2013 at 6:55 am
Hi Koen Verbeeck and ChrisM@Work
I know that indexing may help in reducing the time required to run the query.
But we want to know for which query is slower and requires...
July 23, 2013 at 4:01 am
Thank you hanshi..
By using your query i was able to rewrite my query.
DECLARE @trcfilename VARCHAR(1000);
SELECT @trcfilename = path FROM sys.traces WHERE is_default = 1
SELECT COUNT(*)as no_of_autogrowths,
sum(duration/(1000*60)) as time_in_min,FileName,DatabaseName
FROM ::fn_trace_gettable(@trcfilename, default)
WHERE...
July 17, 2013 at 6:30 am
Hi Gail Shaw..
Thank you for clarifying all my doubts.
July 13, 2013 at 8:01 am
I am not using differential backup in my environment. i use full backup and transaction log backup.So in this case taking full backup and copy only full backup are...
July 8, 2013 at 5:24 am
Yes. I saw that article.
But in my case all database are set to autoclose OFF.
Also the user exist and has sysadmin permission.
Also KB #92574 is for sql server 2005...
June 28, 2013 at 5:44 am
error log has so many errors.I filtered only login errors.
06/25/2013 19:04:29,Logon,Unknown,Login failed for user 'user'. Reason: Failed to open the explicitly specified database. [CLIENT: 192.168.1.69]
06/25/2013 19:04:29,Logon,Unknown,Error: 18456<c/> Severity: 14<c/> State:...
June 28, 2013 at 5:31 am
Password is not changed.Also this error will not come always. Only sometimes it comes,so no particular sequence which can repeat the error.
June 27, 2013 at 7:24 am
I got the answer from here.
June 22, 2013 at 4:33 am
GilaMonster (6/21/2013)
http://sqlinthewild.co.za/index.php/2011/03/22/statistics-row-estimations-and-the-ascending-date-column/
Thanks for reply
So i have to update statistics regularly for large tables right?
June 21, 2013 at 4:31 am
hi kapil
In the link you have mentioned there i found below queries
DECLARE @tbl TABLE
(
id INT,
col XML
)
INSERT INTO @tbl
VALUES
(1,'<name><name1>5</name1></name>'),(2,'<name>6</name>')
DECLARE @id int
SELECT @id = 6
SELECT ...
June 21, 2013 at 3:12 am
Hi Lowell
You are correct.If i select in options then it works.
But there is an exception.If i am using "script entire database and all database objects" while generating script then...
June 17, 2013 at 6:47 am
Lynn Pettis (5/3/2013)
1. Script the database...
June 17, 2013 at 12:29 am
Allow null is allowed for these column. I also checked that for which column this difference comes? For about columns with datatype int NULL was replaced with 0. For another...
June 5, 2013 at 6:23 am
In edit option there is no option for it.When i checked there was only 3 options Drop and recreate the destination table,Delete rows in destination table,Enable identity insert. So i...
June 5, 2013 at 3:35 am
Viewing 15 posts - 61 through 75 (of 186 total)