Viewing 15 posts - 1,096 through 1,110 (of 1,825 total)
sol-356065 (1/19/2010)
I mean something to the outside Select statement will auto generate a column name.
Why would you want such a thing ?
Imagine if it 'auto-generated' a name such as 'col1'...
January 20, 2010 at 1:33 am
Richard McSharry (1/19/2010)
THE PROBLEM
This is an NHS problem related to patient treatments costs for GP's. I need to calculate, for each month of the year, for each General Practice, the...
January 20, 2010 at 1:28 am
Yes , have a database thats total size less than available ram on the machine.
Can you clarify your question further ?
January 18, 2010 at 5:41 am
For the record its best to keep all conversations in the public forum, other people may ( and probably will ) spot issues i miss.
You are using a ##...
January 16, 2010 at 5:37 am
So .. something like this ?
Create table Machine
(
MachineId integer,
AttributeId integer)
go
Create table MachineAttributes
(
MachineId integer,
AttributeId integer)
go
insert into Machine values(1,1)
insert into Machine values(1,2)
insert into Machine values(1,3)
insert into Machine values(1,4)
insert into Machine values(1,5)
insert into...
January 16, 2010 at 5:10 am
Untested but should be fine.
with cteRequiredValues
as
(
select 1 as value
union all
select 33
)
Select MachineID
from MachineAttributeValue
join cteRequiredValues
on cteRequiredValues.Value = AttributeValueID
group by MachineID
having count(*) =2
January 15, 2010 at 9:26 am
My bad.
On the face of it i cant see any reason.
What app was the queryplan from ?
Can you send a standard one from SSMS ?
Oh and full DDL for the...
January 15, 2010 at 6:23 am
What do you get from ..
select balance from TRM_TRUST where MATTER_UNO= 189270
select balance from HBM_MATTER where MATTER_UNO= 189270
January 15, 2010 at 5:24 am
Take a look at my blog entry here
It may get you partially there
January 15, 2010 at 4:14 am
Very easiliy
Add a row group, grouped by 'colA'.
Then add a total row.
Use the drop down to select the data value as you normally would.
Job done
If thats not clear see this...
January 15, 2010 at 1:51 am
Something like this ?
;with cteRows
as
(
select 1 as r
union all
select 2
)
Select ,
case when r =1 then convert(char(10),Fielda) else '' end,
...
January 15, 2010 at 1:32 am
Heres one method of processing contiguous data issues
http://sqlblogcasts.com/blogs/sqlandthelike/archive/2009/08/27/sql-and-contiguous-data-ranges.aspx
January 15, 2010 at 1:27 am
Seems to work fine, rename this .txt file to .rdl for an example
January 14, 2010 at 6:25 am
The fill pick colour in series properties should be get to automatic.
Try using the expression function there.
January 14, 2010 at 6:17 am
Abhijeet Dighe (1/14/2010)
I want it for storing transaction no.I think it will be better to check in database for uniqueness.
any reason for not using an identity ?
January 14, 2010 at 5:24 am
Viewing 15 posts - 1,096 through 1,110 (of 1,825 total)