Viewing 15 posts - 136 through 150 (of 424 total)
Matt's solution has a problem. If the first row has col3=1, it will be omitted. The issue stems from finding the break points so if the first item...
May 29, 2008 at 11:03 am
you should stop converting the numerators to numerics and use floats instead. ideally the app that's consuming this data should format the number, but if that's not possible, then...
May 29, 2008 at 10:01 am
skipping input rows is a classic symptom of a mismatch between the number of fields in the table and the data file.
open the .csv file you provided in...
May 29, 2008 at 9:52 am
you just need to append the new keyword(s) to the existing criteria.
first pass:
AND freetext((Title,Description),'FORMSOF (INFLECTIONAL, "adi great" OR "Video")')
next pass:
AND freetext((Title,Description),'FORMSOF (INFLECTIONAL, "adi great" OR "Video" OR "night life")')
May 28, 2008 at 8:04 pm
try this
create table #data ( propertyId int, segmentNum int,
useCode varchar(8), price money, frontage decimal(8,2), acerage decimal(8,2))
insert into #data
select 1, 1, 'A', 16000, 75, 1.25 union
select 1, 2, 'A1', 7000,...
May 28, 2008 at 7:52 pm
you can define a parameter to allow null values or default values. thus the report can execute without supplying a value in which case the if logic i provided...
May 26, 2008 at 8:20 pm
what you need sounds straightforward but without your sql it's hard to suggest an appropriate solution. something like this may work:
if (@parm is null )
select @parm =...
May 24, 2008 at 6:47 pm
giontech (5/22/2008)
I'm using SSRS, and I'm putting this in a matrix.
I'm confused. A SSRS matrix can automatically generate subtotals for each row/column group. Why won't...
May 23, 2008 at 3:24 pm
please post a sample of the desired output. it's hard (for me) to understand what you want.
May 23, 2008 at 3:19 pm
the function body can be replaced with a single select.
CREATE FUNCTION [dbo].[ufn_SubDomScore_MC] (
@pInput VARCHAR(1000), @SUBDOMAIN VARCHAR(100),
@Grade VARCHAR(5), @Subject VARCHAR(5),
...
May 23, 2008 at 3:15 pm
something like this will do it:
select ColA,
...
May 22, 2008 at 3:08 pm
0x00000000000140A7 is a number in hex notation. don't enclose it in quotes.
Select * from mytable where timestampcol = 0x00000000000140A7
May 22, 2008 at 8:10 am
here's a function that will help:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER function [dbo].[fListToVarchars]( @list varchar(max), @delim varchar(6) )
returns @returnTable table
( item varchar(255) not null, itemSequence smallint not null )
as begin
declare...
May 21, 2008 at 7:00 pm
WayneS (5/21/2008)
I'm trying to eliminate using a cursor in a stored procedure, but I'm having trouble getting the desired results.Any and all help is greatly appreciated!
(Using SS2K5)
Thanks,
Wayne
XML processing to the...
May 21, 2008 at 1:42 pm
that's why you'll either have to use the viewer control in your own app, or create a custom control to collect those parameters.
May 21, 2008 at 7:24 am
Viewing 15 posts - 136 through 150 (of 424 total)