Viewing 15 posts - 436 through 450 (of 1,182 total)
Here's the jist of it.....
DECLARE @myTable TABLE
(val1 CHAR(9)
,val2 CHAR(9)
,val3 CHAR(5)
,val4 CHAR(9))
INSERT @myTable
...
January 26, 2009 at 2:36 pm
I found that my ASSUMPTIONS were wrong... LOL
I create a SQL Dataset/Command and ASSUMED that the parameters for that command are "linked" to the report when the Dataset is linked....
December 22, 2008 at 4:25 pm
Jeff Moden (11/17/2008)
You might not want to use a pivot... please see the following... especially the performance chart near the end of the article...
Might I hope that you always continue...
November 17, 2008 at 11:39 pm
B (11/17/2008)
Jason is right.... Why didn't I see the obvious?!?!B
You just made it more complicated than it was. 🙂 It happens to all of us.
November 17, 2008 at 4:13 pm
No need for CTE here. the pivoted columns exist as columns in the outer level so you can simply add them together there.
SELECT
OS
,Severity
...
November 17, 2008 at 4:08 pm
The problem is that the line number is NOT a column in the source file.
I tested with a file of 10 million rows and it worked fine, but that's not...
September 17, 2008 at 10:19 am
I have a PK on the table, and the original file's line number is all that is important. That is, I'm not concerned how it is stored in the table,...
September 16, 2008 at 3:24 pm
Emilio.Mendoza (7/8/2008)
July 8, 2008 at 1:38 pm
Sometimes, just stepping back from the problem, walking around behind it and looking from the other side helps. 😀
July 8, 2008 at 9:41 am
You're close ...
DECLARE @mytable TABLE (IdentityKey INT IDENTITY(1,1), field1 VARCHAR(10))
INSERT @mytable
select 'test1' UNION ALL
select 'test1' UNION ALL
...
July 8, 2008 at 9:35 am
From BOL ...
.WRITE ( expression, @Offset , @Length )
Specifies that a section of the value of column_name is to be modified. expression replaces @Length units starting from @Offset of column_name....
July 8, 2008 at 9:27 am
Sure, create a Tally table and use the below function ....
(compliments to Jeff Moden)
ALTER FUNCTION [dbo].[split]
(@String VARCHAR(8000)
,@Delimiter VARCHAR(5))
RETURNS @RtnValue TABLE
...
July 7, 2008 at 2:27 pm
I'm still not sure why yours isn't working, but the code below seems to get the correct results. 😀
ALTER TRIGGER [trUpdateBeginVacant]
ON [dbo].[propbut_mi]
FOR INSERT, UPDATE
AS
IF (UPDATE(DDELIVERED) OR UPDATE(DMOVEIN) OR UPDATE(DMOVEOUT))
...
July 3, 2008 at 1:18 pm
jim.powers (7/3/2008)
It seems like it...
July 3, 2008 at 12:49 pm
Change to ... ????
CREATE TRIGGER trUpdateBeginVacant
ON propbut_mi
AFTER INSERT, UPDATE
AS
...
July 3, 2008 at 12:32 pm
Viewing 15 posts - 436 through 450 (of 1,182 total)