Viewing 15 posts - 3,151 through 3,165 (of 3,482 total)
It's a health care company, so they do a lot of data importing, I assume.
The client stated that the candidate must understand Identity in SQL. They need to know what...
January 26, 2014 at 1:40 pm
"Believe it or not, SQL Saturdays are one of the best places to network."
Actually, there were a bunch of recruiter types there last week (#272). Someone actually e-mailed...
January 26, 2014 at 1:41 am
I was just wondering how you could get all the datasets filled in such a way that they would be accurate as of a point in time, instead of having...
January 25, 2014 at 8:06 pm
I'm going to talk to Kevin Kline if I can track him down. (@KEKline on Twitter, I think.) He's a serious smarty (SQL Server MVP), so his advice should...
January 25, 2014 at 2:59 pm
Just wondering - since I'm not absolutely new to SQL Server (I have a couple of those Microsoft pieces of paper) but lack paid experience in SQL Server, what would...
January 25, 2014 at 1:11 pm
You might want to read Dwain Camps' article on Creating Dynamic Crosstabs... that might give you some ideas.
January 24, 2014 at 11:53 pm
SQL Saturday? It's a bargain, so absolutely go! You may not understand it all, but go to beginner lectures (I went to the one in Nashville last week,...
January 24, 2014 at 11:48 pm
Can you use SSRS, or are you doing this in a query only?
January 24, 2014 at 7:16 pm
Just wondering, but can you force the queries to run in a single transaction, so they all execute and then the report is rendered? (Sorry to hijack the post...
January 24, 2014 at 9:31 am
Maybe a naive question, but why most if not all of the grouping in SSRS? Then you can drill up and down in your report. So you would...
January 23, 2014 at 9:55 pm
Is that your intended input or output? Either way, in order to help you, please post both. I created a dummy query for the data you provided:
SELECT ...
January 23, 2014 at 2:32 pm
You need a tutorial on basic queries. Most of these are trivial - like the last answer I posted.
If you tested your code, you would know that it wouldn't...
January 22, 2014 at 7:04 am
One way...
CTE??? Isn't that overkill?
create table #tab
(
ref_group varchar(15),
product varchar(10),
qty tinyint
);
insert into #tab(ref_group,product,qty)
values ('Milk Products','Curd',25);
insert into #tab(ref_group,product,qty)
values ('Milk Products','Butter',5);
SELECT ref_group
, product
, qty
FROM #tab t1
WHERE t1.qty = (SELECT MIN(qty)
FROM #tab);
January 21, 2014 at 11:50 pm
Can't you just set the parameter to be multi-valued in the report? Then you can use JOIN() to get the items in the list into a single string...
Or did...
January 21, 2014 at 9:05 pm
Okay. I could get the name of the column outside of the code, but not inside. I'll give it another try and see if I can get closer....
January 21, 2014 at 5:43 pm
Viewing 15 posts - 3,151 through 3,165 (of 3,482 total)