Viewing 15 posts - 4,516 through 4,530 (of 8,761 total)
Kristen-173977 (9/18/2015)
The front runners were neck-and-neck in Luis's script?
I've found the method I use for timing more accurate than the time statistics
😎
September 18, 2015 at 3:46 am
Using my normal test harness, Kristen's DATETIMEFROMPARTS solution is a clear winner, more than twice faster than the next one. Note that the slowest solutions and those generating conversion errors...
September 17, 2015 at 11:49 pm
Nomvula (9/17/2015)
CREATE TABLE weekdays
(
datevalue ...
September 17, 2015 at 2:55 am
anthony.green (9/17/2015)
Eirikur Eiriksson (9/16/2015)
Revenant (9/16/2015)
Ed Wagner (9/16/2015)
SQLRNNR (9/16/2015)
venomSnake
Eden
Utopia
Dystopia
Inferno
September 17, 2015 at 2:41 am
Two quick suggestions
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SAMPLE_DATA TABLE
(
Store CHAR(1) NOT NULL
,Sales ...
September 17, 2015 at 1:47 am
Jeff Moden (9/16/2015)
Sean Lange (9/16/2015)
drew.allen (9/16/2015)
Try the FORMAT function. It was added in SQL 2012.
SELECT FORMAT(vhrgdt, '0000-00-00') + ' ' + FORMAT(vhrgtm, '00:00:00.000'), *
FROM #Something s
Drew
Thanks Drew. I don't use...
September 17, 2015 at 1:01 am
A more common scenario would be something like this, given the facts that:
a) Inserts and update are relatively inexpensive
b) Data comparison is relatively expensive
c) Good enough algorithms...
September 16, 2015 at 10:46 pm
jasona.work (9/16/2015)
Ed Wagner (9/16/2015)
jasona.work (9/16/2015)
The server is a *little* bit loud...
Like, sitting on the workbench, basement door closed, can still hear the fans roaring on the main floor loud...
This...
Could be...
September 16, 2015 at 8:52 pm
Revenant (9/16/2015)
Ed Wagner (9/16/2015)
SQLRNNR (9/16/2015)
venomSnake
Eden
Utopia
September 16, 2015 at 8:48 pm
Sean Lange (9/16/2015)
September 16, 2015 at 8:42 pm
tauseef.jan (9/15/2015)
I have a table in PRODUCTION server with more than a billion records. I am running the below query to check the exact number of records in it.
select count...
September 16, 2015 at 12:49 am
Minnu (9/16/2015)
I have a database with Name 'Marketing' and i have created another database 'Marketing1' in same instance.
i want to bring the 'Marketing' database offline and alter 'Marketing1' to...
September 16, 2015 at 12:33 am
pietlinden (9/15/2015)
September 15, 2015 at 10:22 pm
Ed Wagner (9/15/2015)
whereisSQL? (9/15/2015)
Ed Wagner (9/15/2015)
djj (9/15/2015)
Ed Wagner (9/15/2015)
BL0B_EATER (9/15/2015)
BWFC (9/15/2015)
whereisSQL? (9/15/2015)
Ray K (9/15/2015)
Ed Wagner (9/15/2015)
Eirikur Eiriksson (9/15/2015)
djj (9/15/2015)
Ed Wagner (9/15/2015)
anthony.green (9/15/2015)
Ed Wagner (9/14/2015)
InspireEureka
Vacuum
tube
Commute
Traffic
Jam
Jelly
Roll
UP
Town
Saturday
Training
Wheels
Muscle Car
Rumble
September 15, 2015 at 10:15 pm
Viewing 15 posts - 4,516 through 4,530 (of 8,761 total)