Viewing 15 posts - 1 through 15 (of 164 total)
I recently found one or two issues at work with scalar functions. I would be happy to contribute an article with examples.
July 22, 2016 at 11:22 am
Drew, there's beauty in simplicity! Great solution, even if a bit slower. Thanks!
SQL rocks!
\m/
July 14, 2015 at 7:43 am
Very nice, Kevin! Thanks!
July 13, 2015 at 2:51 pm
Krys,
You might start with this and fill in something for table B:
declare @table1 table(
ID int
, critter_description varchar(50)
)
declare @table2 table(
ID int
, critter_description varchar(50)
)
insert into @table1(ID, critter_description)
values (1,'cow')
insert into @table2(ID, critter_description)
values (2,'dog')
SELECT...
January 24, 2013 at 3:15 pm
I don't see your definition of table B.
January 24, 2013 at 2:52 pm
You're forcing us to guess just a bit as you haven't supplied DDL code and some data, but my guess is that what you need is not cursors but left...
January 24, 2013 at 11:40 am
How is it possible that the VM Admin would move a SQL Server and the SQL Server folks not be aware ahead of time? That's a real problem.
January 9, 2013 at 9:38 am
Do you mean to say that SSMS is locked or stuck? You might try closing SSMS, which of course won't stop SQL Server services.
January 8, 2013 at 10:55 am
Yup, the recursive CTE gave me what was needed. I needed to be able to get one particular Top Dude's descendents (employees), and this worked ok:
USE Sandbox;
GO
-- 1 and 12...
January 8, 2013 at 8:50 am
Thanks for the links. Jeff knows what he's talkin' 'bout! If I get some time this afternoon (or later), I will dig further into these.
January 7, 2013 at 12:20 pm
From BOL:
To open a saved XML query plan in SQL Server Management Studio
In SQL Server Management Studio, on the File menu, choose Open, and then click File.
In the Open File...
February 7, 2012 at 1:07 pm
Boomerang looks like it's quite useful; I like that it's SQL table-driven. However, given the fact that the Pro edition is 995 EUR and it's the cheapest edition that can...
February 6, 2012 at 8:51 am
I have not heard too many good things about replication. When there are problems, my impression is that it's not simple to fix.
Is it an option to just empty the...
September 30, 2011 at 2:03 pm
I've done something similar to this before, and I didn't see much of a performance impact.. however, the views were pretty simple. I would give it a shot, but do...
September 20, 2011 at 2:48 pm
Viewing 15 posts - 1 through 15 (of 164 total)