Viewing 15 posts - 6,736 through 6,750 (of 8,753 total)
On the contrary, it is very useful as it respects the left outer join, which in essence return all records from the right hand side and only those on the...
October 19, 2014 at 12:26 pm
Think of it this way, the AND will satisfy all records on the right hand side and return NULL on the left hand side for those records not satisfying the...
October 19, 2014 at 11:59 am
Quick suggestion, change this to a merge statement, look into the merge match conditionals "when matched" straight forward to handle this that way.
😎
October 19, 2014 at 4:38 am
Of course the more information provided the better the answer/advice;-)
The tables can of course be created beforehand, the solution posted is one of many ways of doing this. Tell...
October 19, 2014 at 1:46 am
Quick thought, conditioning a left outer join query on a column on the left side of the join effectively turns the join into an inner join, when the same predicates...
October 19, 2014 at 12:12 am
Good input @Seong-Bae Hwang, your approach is much more efficient as it bypasses the expensive XML table value functions and the string manipulation. Well done!
Must admit that I got a...
October 18, 2014 at 11:09 pm
The task of populating a table from a stored procedure is simple, isolating the data for each client which makes this slightly more complicated as preferably each client should have...
October 18, 2014 at 10:52 pm
Google doesn't like nnnnn..nnnnnn, try searching any set of numbers and the G guy will tell you he's sorry. Probably an effort to stop certain type of searches like ip...
October 18, 2014 at 1:34 pm
The slowness of this website has gotten a lot worse for the past few days, hardly workable as it is. I'm not going to speculate on the causes but the...
October 18, 2014 at 1:28 pm
Quick note, SQL Server does correctly encode all characters that need encoding, consider this example
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SAMPLE_SIZE INT = 15;
;WITH T(N) AS (SELECT N FROM (VALUES (NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL)) AS...
October 18, 2014 at 10:50 am
Here is a quick and simple window function solution
😎
USE tempdb;
GO
SET NOCOUNT ON;
;WITH BASE_DATA(Heat_Index,HeatNo,Frame,Window) AS
(SELECT * FROM
(VALUES
...
October 18, 2014 at 10:37 am
Quick window function solution, should be self explanatory
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID('dbo.qamt') IS NOT NULL DROP TABLE dbo.qamt;
CREATE TABLE qamt(id INT, amt INT);
IF OBJECT_ID('dbo.qtot') IS NOT NULL DROP TABLE dbo.qtot;
CREATE...
October 18, 2014 at 9:52 am
Linked server should be fine, even an SSIS packet on a schedule would probably do fine, all depends on the frequency required, transactional replication is probably an overkill in...
October 18, 2014 at 5:58 am
October 18, 2014 at 4:47 am
What do you see in the Windows Event Log?
😎
October 18, 2014 at 4:23 am
Viewing 15 posts - 6,736 through 6,750 (of 8,753 total)