Viewing 15 posts - 5,281 through 5,295 (of 6,486 total)
IIF is going to eval BOTH parts (the THEN and the ELSE) even if it returns just one.
Try this instead:
= Round(
...
January 14, 2008 at 9:28 am
You have to remember SQL Behavior as to mathematical operations: it will try to retain the data type it started with. So in your case - you're taking an...
January 14, 2008 at 9:23 am
It's not a communication protocol. It's more like a grammar (it defines what elements should be within various types of communication).
Protocol: set of rules established among groups.
think of it...
January 14, 2008 at 9:12 am
Grant Fritchey (1/14/2008)
January 14, 2008 at 8:19 am
That's a BIG question. You might need to hit the books.
HL7 is a protocol establishing data/record formats for passing medical information back and forth. It's been...
January 14, 2008 at 8:14 am
I was referring to "Professional insurance" and what is often referred to as Errors and Omissions insurance. Professional is the one covering the server you might knock over; E...
January 14, 2008 at 8:04 am
The Alarms themselves should be their own entity (a.k.a table) with their own unique identifier. Would make this issue MUCH simpler.... That way you would have no issues...
January 14, 2008 at 7:53 am
Since you're in 2005 - you can avoid all of the scope_identity nonsense by using the OUTPUT predicate from within the INSERT statement.
It looks something like
declare @nextid as integer
declare @tbl...
January 14, 2008 at 7:35 am
Try something like:
select 'Table_a' as tablename, sum(total)as Total_of_All_Tables
from table_a
union
select 'Table_b' as tablename,sum(total)as Total_of_All_Tables
from table_b
union
select 'Table_c' as tablename,sum(total)as Total_of_All_Tables
from table_c
union
select 'Table_d' as tablename,sum(total)as Total_of_All_Tables
from table_d
January 13, 2008 at 1:35 pm
Youre XML is being mistaken for HTML formatting - of the site is "truncating" it.
Before posting it - drop the XML into notepad, and run a find/replace to...
January 13, 2008 at 9:43 am
Well - technically it IS a triangular join, but it's one against the summary. So - you summarize first, then triangular join against it (essentially unrolling the summary).
That being...
January 12, 2008 at 8:15 pm
I wonder who user #666,666 will be....hehe. We'll have to nickname them "nostradamus".
January 12, 2008 at 12:51 pm
We'll have to define "not expensive", because E & O insurance for a developer or DBA isn't cheap, especially when you're touching someone's production systems (even if not directly). ...
January 12, 2008 at 12:48 pm
Viewing 15 posts - 5,281 through 5,295 (of 6,486 total)