Viewing 15 posts - 1,126 through 1,140 (of 2,458 total)
Sean Lange (12/7/2015)
December 7, 2015 at 10:13 am
DECLARE @TableA TABLE (ProbID int, Describe varchar(100), TableAID int);
INSERT @TableA VALUES (1,'Describe Test the theory',1);
SELECT * FROM @TableA;
UPDATE @TableA
SET TableAID = TableAID+1;
SELECT * FROM @TableA;
December 4, 2015 at 10:50 am
Use print preview while developing and make adjustments accordingly. Print Preview will show you exactly what your PDF is going to look like.
December 4, 2015 at 10:45 am
This is a little more BI-centric but The Microsoft Data Warehouse Toolkit, 2nd Edition[/url] had a few good chapters to help get you started. There's a good amount in there...
December 4, 2015 at 8:53 am
Can you post some DDL and sample data? It would be helpful to understand, too, where the dates in your second result set are coming from.
December 4, 2015 at 8:47 am
Just ran across this. Good, good stuff.
December 4, 2015 at 8:27 am
That's not T-SQL.
It is MDX? If it is, you'll need to look up the MDX date manipulation functions, they're not going to be the same as the T-SQL ones....
December 4, 2015 at 8:19 am
<removed>... somehow duplicated my post when editing it.
December 4, 2015 at 8:09 am
Aditya Daruka (12/3/2015)
-- sample date
DECLARE @rng-2 TABLE (Id INT, RangeStart BIGINT, RangeEnd BIGINT, Category INT, NumberCount INT)
INSERT INTO @rng-2
SELECT 123, 120000006660, 120000006690, 5, 31 UNION ALL
SELECT 123, 120000011660, 120000011670,...
December 3, 2015 at 4:38 pm
chrisn-585491 (11/9/2015)
The command line hasn't gone anywhere, it can't be "back". :ermm:
+1000
When I first got into technology/programming in 1996 I was reading "DOS for Dummys" and remember the author...
December 3, 2015 at 3:57 pm
Luis Cazares (12/3/2015)
Sean Lange (12/3/2015)
Alan.B (12/3/2015)
I am curious about a couple things here.
Why MAX(c)?
(MAX(c),'No Colour')
To always return a row, either with a value or a null. I might have done...
December 3, 2015 at 2:03 pm
Sean Lange (12/3/2015)
Alan.B (12/3/2015)
I am curious about a couple things here.
Why MAX(c)?
(MAX(c),'No Colour')
I usually do that to get a single value but don't have a clue why I did that....
December 3, 2015 at 1:55 pm
First, I don't know if you noticed or understood the motivation by Luis' comment in his code about why he changed it to varchar(8000) from varchar(max). You only want to...
December 3, 2015 at 1:27 pm
It is worth noting that you will need an ORDER BY in your OVER clause for this to work.
December 3, 2015 at 8:58 am
I terminate all my SQL statements with a semicolon because, apparently, you are supposed to. If anyone is interested in an intellectually stimulating article on the subject see Itzik Ben-Gan's...
December 2, 2015 at 9:55 am
Viewing 15 posts - 1,126 through 1,140 (of 2,458 total)