Viewing 15 posts - 1 through 15 (of 18 total)
This is a great solution, linked list idea adds complexity though. You can easily change the way you rank your songs and make Position column as float. Then you assign...
December 21, 2014 at 10:19 pm
ChrisM@Work (9/9/2013)
natalie.ignatieva (9/9/2013)
Jeff Moden (9/8/2013)
I, however, do not consider the fact that it won’t give you an error for an attempted multiple-update on a single row a fault. Nay....
September 9, 2013 at 3:13 pm
paul.knibbs (9/9/2013)
natalie.ignatieva (9/9/2013)
I totally agree with you about that it's a feature and it's not a hazard.
I would say it's entirely possible for it to be both. Yes, it's a...
September 9, 2013 at 3:06 pm
Jeff Moden (9/8/2013)
I, however, do not consider the fact that it won’t give you an error for an attempted multiple-update on a single row a fault. Nay. I...
September 9, 2013 at 12:05 am
I am not exactly sure what you do in your code, but if you want to pull results as
TR001 555.55
TR002 123.55
TR003 34.00
..
TR008 23.76
THEN use
SELECT Tbl_Transaction.int_TransCode, SUM(Flt_Amount) AS Amount
FROM Tbl_Transaction...
March 31, 2011 at 1:58 pm
Sorry, I forgot to close brackets:
You probably could run something like:
SELECT SUM(
CASE
WHEN Tbl_Transaction.int_TransCode = 'TR001' THEN Tbl_Transaction.Flt_Amount
WHEN Tbl_Transaction.int_TransCode = 'TR002' THEN Tbl_Transaction.Flt_Amount
(..etc)
WHEN Tbl_Transaction.int_TransCode = 'TR008' AND (some...
March 31, 2011 at 1:48 pm
You probably could run something like:
SELECT SUM(
CASE
WHEN Tbl_Transaction.int_TransCode = 'TR001' THEN Tbl_Transaction.Flt_Amount
WHEN Tbl_Transaction.int_TransCode = 'TR002' THEN...
March 31, 2011 at 1:47 pm
The color coding is actually correct. The first [ character starts a table name that only ends at the final ], so everything in between them is part of the...
October 27, 2010 at 3:54 pm
Management studio shows me this script mostly in black meaning there is something wrong in the script even if it's completed successfully. I guess even colorblind people can see it....
October 27, 2010 at 3:04 pm
Please, try this code and let me know if it works faster for you:
SELECT MAX(RecordId) AS RecordId
INTO #T
FROM dbo.AllRecordsAS s2
GROUP BY SubrecordId
INSERT INTO #Temptable
(s1.SubrecordId,
s1.RecordId)
SELECT s1.SubrecordId, s1.RecordId...
June 11, 2010 at 11:24 am
A while ago there was one question with not intended mistake in the script and I lost points. Now I thought that this was just not intended mistake and lost...
June 11, 2010 at 9:19 am
The correct answer is "XML segment, with the integrated parser marking most values illegal, but IE can open this segment surrounded by root element ", but my IE gives me...
May 20, 2010 at 12:14 pm
Viewing 15 posts - 1 through 15 (of 18 total)