Viewing 15 posts - 4,741 through 4,755 (of 5,843 total)
Flo, are you getting your reads from SET STATISTICS IO ON? IIRC UDFs don't report IO correctly in this manner. Try getting them with Profiler.
May 1, 2009 at 9:40 am
Ashish Pathak (5/1/2009)
May 1, 2009 at 7:40 am
Paul White (4/30/2009)
TheSQLGuru (4/30/2009)
...there is also the same issue of index scan/seek if you are using a function on a column in a where clause.
Unless you use the solution posted...
April 30, 2009 at 3:52 pm
Goldie Graber (4/30/2009)
Amber.Brouillard (4/30/2009)
Hi Jeff,The dates I use do have a time with them (that is how SQL stores them) and dateadd(day, 1, date) still works fine.
Thanks!
Amber
If your dates have...
April 30, 2009 at 1:04 pm
Ashish Pathak (4/30/2009)
April 30, 2009 at 7:43 am
Alejandro Pelc (4/29/2009)
April 29, 2009 at 10:53 am
You didn't give us nearly enough information to guide you here. If you want the highest inserts per second, simply have a heap table with NO indexes whatsoever. ...
April 29, 2009 at 9:40 am
itamar (4/29/2009)
How about different kind of SQL compare tools, they work OK with dates?
when using comparison tools one is most often comparing the entire table anyway, so index scan/seek issues...
April 29, 2009 at 8:54 am
rob.lobbe (4/28/2009)
TheSQLGuru (4/28/2009)
Again this code will break with new, more precise, datetime datatypes in SQL Server 2008.
Well if you change the code - ie the data type - of course...
April 29, 2009 at 8:53 am
craig.lovegren (4/28/2009)
rob.lobbe (4/28/2009)
declare
@date datetime,
@today datetime,
@tonight datetime
select
@date = getdate(),
@today = convert(datetime,convert(int,@date)),--use smallint for smalldatetime
...
April 28, 2009 at 9:20 pm
Josie (4/28/2009)
April 28, 2009 at 12:44 pm
Kurt W. Zimmerman (4/28/2009)
April 28, 2009 at 8:20 am
Dallas Martin (4/28/2009)
SQL SVR may have to perform a full table scan. Not exactly what one
desires in a...
April 28, 2009 at 7:45 am
A very minor point for Number/Tally tables is to create the clustered index after population and to specify 100% fill factor. This will ensure minimal IO for subsequent use....
April 22, 2009 at 2:30 pm
What an absolutely amazing thread this is! Well done to all involved. I have learned a good bit, and have some new tools in my bag of tricks!...
April 21, 2009 at 9:52 am
Viewing 15 posts - 4,741 through 4,755 (of 5,843 total)