Viewing 15 posts - 16 through 30 (of 163 total)
Not that I advocate switching to a "toy" RDBMS, but MySQL does have the GROUP_CONCAT operator which makes this type of thing a little more elegant. It's something to be...
October 29, 2012 at 8:12 pm
jay-h (9/19/2007)
Remember...
If your job can be done from home, it can be done from India.
I suppose Steven King could write his next novel from home, and Tim Burton could draft...
October 3, 2012 at 6:50 am
Nice article - I like this approach and will definitely experiment with it the next time I have a change on a large table.
I think you can improve the conciseness...
August 11, 2011 at 10:13 am
Hugo Kornelis (1/27/2010)
Other, minor issues are the unneeded brackets around [name] (name is not on the list of reserved keywords, so no delimitation required); the strangely popular but really rather...
February 3, 2010 at 1:39 pm
Nicely done and interesting article. I had actually considered writing a similar article, but you have beaten me to the punch 🙂
I like your use of Analysis Services as a...
October 27, 2009 at 2:02 pm
Greetings, Martyn;
Excuse the self-promotion, but I think this article will be of use to you. Give it a look, and if you need further help mapping the entities in your...
October 12, 2009 at 11:58 am
If it's tricks you're after, what would the results be for the following query?
DECLARE @MyVars TABLE (c char(8), [var] char(8));
INSERT INTO @MyVars (c, [var])
SELECT 'I', 'E' UNION ALL
SELECT 'Q', 'X';
SELECT...
October 6, 2009 at 1:53 pm
John Rowan (9/10/2009)
September 14, 2009 at 1:19 pm
David Portas (8/14/2009)
cs_troyk (8/14/2009)Did you see this workaround for multiple inserts? (Limited to 2 tables and SS2K8, but interesting nonetheless) http://weblogs.sqlteam.com/peterl/archive/2009/07/29/How-to-insert-into-two-tables-in-one-statement.aspx
Yes. You can use OUTPUT to insert to another table...
August 17, 2009 at 11:50 am
David Portas (8/14/2009)
cs_troyk (8/14/2009)Imagine how much easier life would be if you could declare constraints (both column constraints and inclusion dependencies) that reference views... http://connect.microsoft.com/SQLServer
That would be useful...
August 14, 2009 at 1:11 pm
Awesome! Unpredictable behavior based on builds (or better yet, Editions). I ran David's script on SS2K5 9.00.4035.00 and SS2K8 10.0.1600.22 and got the error on both (both Developer Editions).
Imagine how...
August 14, 2009 at 12:25 pm
Matt Miller (8/14/2009)
David Portas (8/14/2009)
August 14, 2009 at 12:01 pm
> Basically, a student is only allowed to checkout a maximum of 3 tools.
Over the course of their lifetime, or 3 tools at any given point in time?
August 14, 2009 at 9:49 am
Probably some confirmation bias going on here, both in the OP and many of the replies.
One question - how are you defining "success"? Is it career success, financial succes(both)? Do...
July 27, 2009 at 9:44 am
Hi Scott;
My article here http://www.sqlservercentral.com/articles/Data+Modeling/61528/ may give you some background to help solve this problem.
HTH,
TroyK
July 22, 2009 at 12:59 pm
Viewing 15 posts - 16 through 30 (of 163 total)