Viewing 15 posts - 3,211 through 3,225 (of 3,484 total)
nevermind...
Are you looking for a crosstab? I'm just not very clear on your requirements.
December 28, 2013 at 5:00 pm
I Grouped by X and then added a couple of columns and dropped the fields into the grid.
=Min(Fields!X.Value,"DataSet1")
=Max(Fields!X.Value,"DataSet1")
No idea where SUM fits into this... I didn't need it.
For grins I...
December 25, 2013 at 9:31 pm
If you wanted to store NULL and a DATE value, then it would be trivial. What's the point storing ''? Is that not the same as Null (unknown)?...
December 25, 2013 at 8:57 pm
CI = Clustered Index (one per table, determines storage order)
NCI = Non-Clustered Index
December 25, 2013 at 2:47 pm
Your field sizes and some of the types are a bit over the top.
DOB NVARCHAR(50)? Makes doing date math really hard.
ID NVARCHAR(50)? Can't you use an...
December 23, 2013 at 8:35 pm
Okay, thanks for the clarification. I'll post again if I can't figure something else out about the solution.
December 22, 2013 at 11:26 pm
Dwain,
First off, thanks for taking the time to crank that out... Of course, it'll take me a while to figure it out!!!
The grades are from the National Institute of Health...
December 22, 2013 at 10:35 pm
I can generate purely random records really easily. TOP (@N) ... ORDER BY CHECKSUM(NewID)
The really hard part (for me!) is fixing my code so that as the grade increases,...
December 21, 2013 at 8:29 pm
Here's one idea... definitely don't take any data that could be construed as belonging to your employer, but if you develop a solution, there's no reason you can't keep a...
December 21, 2013 at 6:07 pm
You might want to read Ralph Kimball's The Data Warehouse Toolkit. (Or at least have a look.) It's not as scary as it sounds, really. He explains...
December 21, 2013 at 3:19 pm
Well, at least you have a reason for your brain not working!
Yes... you have it right. Think of a patient receiving cancer treatments. He will receive treatments and...
December 21, 2013 at 8:32 am
Dwain,
Good to have a definitive answer. Thanks! Looks like I need a good reasonably simple tutorial on CROSS APPLY. I guess I could start with Paul White's...
December 20, 2013 at 8:28 pm
Given that I'm not good at SSIS, I did this in Access, because it's what I know, and it works. (So it is good for some things!)
In my source...
December 15, 2013 at 12:06 am
ramana3327 (12/14/2013)
How can you create foreign key relation to the same table which contains primary key.
So you're doing a self-join? Like in an Employee/Manager scenario?
See this article: http://msdn.microsoft.com/en-us/library/ms190273.aspx
Section E.
there...
December 14, 2013 at 4:44 pm
select *
from tablename
where deptnumber = &department_number;
Enter Value for department_number
if you do this in SQL Server...
SELECT *
FROM tableName
WHERE deptNumber = @DeptNumber
You will get a prompt in the GUI. If...
December 14, 2013 at 12:40 pm
Viewing 15 posts - 3,211 through 3,225 (of 3,484 total)