Viewing 15 posts - 526 through 540 (of 562 total)
Hello all,
Because I goofed a bit in my previous solution here the worked out code.
It's a solution which only used simple replaces, not efficient (lots of updates).
ben brugman
-- Ben Brugman
--...
October 5, 2012 at 8:52 am
bitbucket-25253 (10/5/2012)
October 5, 2012 at 8:12 am
Sqlfrenzy (10/5/2012)
you can use a version control tool for it.
Thanks for your anwser.
To my knowledge (I know VSS and TFS) version control tools can only store versions of files. At...
October 5, 2012 at 7:14 am
With a large amount of replaces this can be done.
Problem is that the number of replaces is very large.
So I'll show the concept but not the code, because the code...
October 5, 2012 at 6:49 am
With a large amount of replaces this can be done.
Problem is that the number of replaces is very large.
So I'll show the concept but not the code, because the code...
October 5, 2012 at 6:36 am
ScottPletcher (9/17/2012)
September 17, 2012 at 2:38 pm
Cadavre (9/17/2012)
So the fastest ones after one run are: -
ScottPletcher: 0ms
Cadavre: 3ms
ChrisM@Work: 4ms
Eugene Elutin: 5ms
Dwain: 7ms
Eugene Elutin: 11ms
Personally, I'd call those times equivalent. I suspect that the fastest one would...
September 17, 2012 at 3:09 am
Another solution, I think shorter and more efficient, this because only 865 rows need to be generated and inspected.
with a as ( select 123 as n union all select...
September 15, 2012 at 8:59 am
GSquared (9/14/2012)
Gazareth (9/14/2012)
That means the two are not semantically identical in the...
September 14, 2012 at 11:08 am
Lowell (9/14/2012)
yes it's true; there are two ways to cross join tables.
I do realize that there a two ways for the cross join. And I know that the comma syntax...
September 14, 2012 at 5:45 am
subbareddy542 (9/14/2012)
please use #temp table in plase of CTE.
Please explain why a #temp table should be used.
I have been using CTE expressions and used #temp tables to 'force' the...
September 14, 2012 at 5:29 am
Overlapping of times.
The overlapping of times is often handled wrong.
Suppose we have a table with booked_start and booked_finish.
And you have a begintime and endtime for which you want the 'overlapping'...
August 27, 2012 at 8:34 am
HowardW (8/23/2012)
The point of partitioning is normally to divide your tables using a natural key, like a transaction date, or a month end date etc. in order to immediately narrow...
August 27, 2012 at 8:04 am
CREATE TABLE tablename
(
id int NULL,
name varchar(50) NULL,
val int NULL
)
insert into tablename VALUES (1 ,'abc' ,100)
insert into tablename VALUES (2 ,'ravi' ,null)
insert into tablename VALUES ('','venu' ,200)
insert into tablename VALUES (3...
August 27, 2012 at 2:46 am
Viewing 15 posts - 526 through 540 (of 562 total)