Viewing 15 posts - 256 through 270 (of 2,007 total)
Sample data, in case anyone else wants to have a go: -
SELECT [MemberId(F.K)], [Event], [Event Date]
INTO #yourTable
FROM (VALUES(1, 'Test Event1', '2012-03-20 05:39:51'),
...
April 26, 2013 at 2:10 am
Just to illustrate what Gail was saying. . .
You could easily test this out yourself.
USE tempdb;
IF object_id('dbo.Employees') IS NOT NULL
BEGIN
DROP TABLE dbo.Employees;
END;
--10,000,000 Random rows...
April 18, 2013 at 5:46 am
Is this not just a catch all query? In which case, check out one of Gail's blog posts on the subject --> http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/%5B/url%5D.
April 18, 2013 at 3:43 am
sugiarttampubolon (4/18/2013)
the table
EmployeeNo TimeIn TimeOut BreakHours WorkingHours
001 06:20 ...
April 18, 2013 at 3:22 am
lewisdow123 (4/17/2013)
Thanks all for your comments.
So I have disabled the trigger and you were right because that improved the performance. However the problem I have is that this problem...
April 18, 2013 at 1:35 am
/*
Missing Index Details from ExecutionPlan.sqlplan
The Query Processor estimates that implementing the following index could improve the query cost by 99.8419%.
WARNING: This is only an estimate, and the Query Processor is...
April 17, 2013 at 8:50 am
You may want to have a read about custom types.
April 17, 2013 at 7:42 am
lewisdow123 (4/17/2013)
I have a standard update statement that updates one row at a time. The table size is 340,000 rows, so it's large but it's not huge.
The first time...
April 17, 2013 at 7:36 am
Lynn Pettis (4/17/2013)
April 17, 2013 at 7:26 am
Why are you storing dates as INT? To get the number of days difference, you're going to need to convert to DATE.
Try something like this: -
IF OBJECT_ID('abc') IS NOT NULL
BEGIN
...
April 17, 2013 at 6:42 am
karthik.catchme (4/9/2013)
Please let me know how to get the initial size of the database file using T-SQL.
sys.master_files, sys.database_files, sysfiles, sysaltfiles --> gives only the current size and not the...
April 10, 2013 at 2:14 am
Steve Jones - SSC Editor (4/5/2013)
Cadavre (4/5/2013)
rodjkidd (4/4/2013)
Hotel booked for SQLBits. Almost forgot all about that so a nice refreshing 20 minute walk in the morning!
I'm in Castle Marina Premier...
April 5, 2013 at 9:12 am
rodjkidd (4/5/2013)
Chris, Grant and Cadavre are you all about for the 3 days or not?Rodders...
I'm not going to the Thursday, but will be getting to my hotel sometime in the...
April 5, 2013 at 8:37 am
ChrisM@Work (4/5/2013)
You've been spending waaaay too much time in front of a computer 😀
I can find at least one person that would not only agree with you, but would print...
April 5, 2013 at 7:34 am
ChrisM@Work (4/5/2013)
13.9 miles. You have to like your whisky.
Evidently my geography is a little off 😀
April 5, 2013 at 7:27 am
Viewing 15 posts - 256 through 270 (of 2,007 total)