Viewing 15 posts - 2,311 through 2,325 (of 4,087 total)
TheSQLGuru (10/3/2016)
SELECT t2.name, COUNT(*)
FROM dbo.#stat t1
--get the G events...
October 4, 2016 at 9:17 am
I found another version. It's slower on this small dataset, but I think it will run faster on a larger dataset, because it contains one fewer sort.
WITH play_events AS...
October 4, 2016 at 9:06 am
If you know it's only ever going to be one letter, you don't need the comma if you go that route. Personally, I'd go with the table variable.
Drew
October 4, 2016 at 8:16 am
jcarranza 23978 (10/3/2016)
The column name is photo and is an nvarchar(50). It will contain...
October 3, 2016 at 1:55 pm
Since someone else recently asked that very same question, it sounds like homework.
Drew
October 3, 2016 at 1:40 pm
Alan.B (10/3/2016)
Here's a couple examples:
DECLARE @myv VARCHAR(MAX) = 'AB,CD,EF,GH,IJ';
SELECT...
October 3, 2016 at 1:05 pm
Okay, we run our dataloads through a third party software that takes a config file with the processes to run and any parameters required for procedures. One of the...
October 3, 2016 at 12:49 pm
You can also improve your function by adding the WITH SCHEMABINDING option. Even though you're not using any physical tables, SQL checks whether the underlying tables have changed if...
October 3, 2016 at 9:25 am
I don't know which is scarier: that the OP never considered simply adding the columns or that the OP needs to test to determine whether it would work?
Drew
http://www.sqlservercentral.com/Forums/Topic1821068-3740-2.aspx
October 3, 2016 at 9:08 am
I would think that you would want to partition by the game ID. Presumably, the games are treated separately, and partitioning by the game ID would accomplish this.
Drew
October 3, 2016 at 8:34 am
You're overengineering this. Simply ADD the columns
SET Col10 = Col6 + Col7 + Col8 + Col 9
Drew
October 3, 2016 at 8:10 am
I believe it falls under "Limited by available resources."
Drew
September 30, 2016 at 1:46 pm
As a clarification. ETL stand for "Extract/Transform/Load". It sounds like you are skipping the Transform part of ETL.
Drew
September 30, 2016 at 12:28 pm
thomashohner (9/30/2016)
September 30, 2016 at 12:23 pm
xr280xr (9/29/2016)
DELETE FROM tbl_a
WHERE [some additional criteria]
AND (DeleteAsap = 1...
September 29, 2016 at 3:58 pm
Viewing 15 posts - 2,311 through 2,325 (of 4,087 total)