Viewing 15 posts - 301 through 315 (of 3,957 total)
Laurence Neville (3/1/2015)
Thanks for the extra solutions. Got me reading about relational division: https://www.simple-talk.com/sql/learn-sql-server/high-performance-relational-division-in-sql-server
:blush:
March 2, 2015 at 5:03 pm
TheSQLGuru (2/25/2015)
March 2, 2015 at 5:03 pm
Solomon Rutzky (3/1/2015)
dwain.c (2/24/2015)
It won't be as fast as a QU approach, but the example does handle multiple loans and...
March 1, 2015 at 11:51 pm
Solomon Rutzky (2/25/2015)
dwain.c (2/24/2015)
There is also a loan amortization function in Solomen Rutzky's SQL # library: http://www.sqlsharp.com/ and it is pretty fast. Hope I spelled his name right.
Hi Dwain,...
February 25, 2015 at 4:45 pm
And now for all of you conspiracy buffs:
That is the most fascinating thing I've read in a long, long time.
February 24, 2015 at 7:20 pm
February 24, 2015 at 5:53 pm
There's a loan amortization example here: Exploring Recursive CTEs by Example[/url]
It won't be as fast as a QU approach, but the example does handle multiple loans and if I recall...
February 24, 2015 at 5:21 pm
Unless I'm misinterpreting these odd requirements, this is really simple.
It depends on the number of selections you make from the set. So with 12 columns, and if you want...
February 24, 2015 at 5:09 pm
gary.strange-sqlconsumer (2/24/2015)
And thanks for the feedback.
A big concern I had with writing the article was it length. The original article was 30 pages long and I knew I had...
February 24, 2015 at 1:59 am
ChrisM@Work (2/24/2015)
I'll ask Adam to remind you of this next time you meet up. He sits next to me.
Sounds like a small world.
February 24, 2015 at 1:42 am
Jeff Moden (2/23/2015)
February 24, 2015 at 1:10 am
Phil Parkin (2/24/2015)
Create the sample data
(1000000 row(s) affected)
Multiple Conversions
SQL Server...
February 24, 2015 at 12:36 am
Nice article Gary.
I was wondering if there would be any benefit to making your TVFs schema-bound?
I haven't tried to see if it could be done, just wondering if you've...
February 23, 2015 at 10:24 pm
Lynn Pettis (2/23/2015)
And for the geeks out there:
......
February 23, 2015 at 7:57 pm
create table #page
(
id int,
webpage varchar(max)
)
insert into #page(id,webpage)values(1,'/user/advisory'),
(2,'/user/alerts'),(3,'user/advisory/vv2');
SELECT id,webpage
,s=CASE CHARINDEX('/', c.s) WHEN 0 THEN c.s ELSE LEFT(c.s, CHARINDEX('/', c.s)-1) END
FROM #page a
CROSS APPLY
(
...
February 23, 2015 at 5:44 pm
Viewing 15 posts - 301 through 315 (of 3,957 total)