Viewing 15 posts - 3,661 through 3,675 (of 8,731 total)
I would define the columns from the text file as strings, then use a data conversion or derived column transformation to change the columns' types. That transformation should have 2...
December 9, 2015 at 7:26 am
Are you sure the SSIS package is inserting the data in the correct server?
If the package log indicates it's inserting rows and the destination server doesn't show any activity, then...
December 8, 2015 at 1:16 pm
This follows the rule for Desired Open.
I'm guessing that you're getting these values from a query and not a table, and the Closed Count should have the value only for...
December 8, 2015 at 1:11 pm
Eirikur Eiriksson (12/8/2015)
BrainDonor (12/8/2015)
Here's one I've never seen before - every thread on a full page of the search started by the same person.Someone is very busy.
Too busy for RTFM
😎
OMG,...
December 8, 2015 at 12:49 pm
Ed Wagner (12/8/2015)
Revenant (12/8/2015)
Ed Wagner (12/8/2015)
crookj (12/8/2015)
lithopanspermiaStar Trek
Voyage
Home
Alone
December 8, 2015 at 12:14 pm
patrickmcginnis59 10839 (12/8/2015)
smmkr17 (12/5/2015)
ColA ColB ColC
A 1 Yes
A 2 No
A 1 Yes
A 1 Yes
B 1 Yes
B 2 Yes
C 1 Yes
D 1 No
My result should be
A No
B Yes
C No
If ColA...
December 8, 2015 at 12:10 pm
Can you explain the rows for 2015-07-23 on the new sample data?
Why are the Open counts summed individually and the Closed counts aren't? Why are the previous summed as a...
December 8, 2015 at 11:44 am
Depending on the type of bad data. A conditional split could work, or simply error handling to redirect bad rows.
December 8, 2015 at 10:30 am
Could you unpivot the data in the query?
CREATE TABLE #Test(
A1 CHAR(2),
A2 CHAR(2),
A3 CHAR(2),...
December 8, 2015 at 9:16 am
John Mitchell-245523 (12/8/2015)
December 8, 2015 at 9:05 am
Why do you have a zero on CummClosedDate for 2015-07-08? If you really need a cumulative count, the case is not needed.
SELECT IndividualDate,
ClosedDate,
...
December 8, 2015 at 8:49 am
3 possible options. I used LOWER, but I'm not sure if you need it.
PRINT UPPER(LEFT(@name,1)) + LOWER( SUBSTRING(@name,2,Len(@name)-2)) + UPPER(right(@name,1))
PRINT STUFF( STUFF( LOWER(@Name), 1, 1, UPPER(LEFT(@name,1))), LEN(@name), 1, UPPER(RIGHT(@name,1)))
PRINT UPPER(LEFT(@name,1))...
December 7, 2015 at 1:52 pm
Some other ways. The last one is similar to serg's, but should perform better because it should read less rows. However, I can't assure it will perform better without real...
December 7, 2015 at 10:31 am
Sean Lange (12/7/2015)
Sergiy (12/6/2015)
Jason A. Long (12/6/2015)
It's probably worth mentioning that the CAST/CONVERT in the predicate only works when using certain datatypes.
And only on certain versions of CQL Server.
Microsoft SQL...
December 7, 2015 at 7:54 am
I'm sorry, I included an aggregation where I shouldn't.
SELECT id
,knt
,dt
...
December 7, 2015 at 6:44 am
Viewing 15 posts - 3,661 through 3,675 (of 8,731 total)