Viewing 15 posts - 17,506 through 17,520 (of 18,926 total)
Nice, a triple synchronised post. It's a first for me.
Hey Frank, since when are you approving the use a dynamic sql without questionning the design or the task at hand???
June 1, 2005 at 8:14 am
That clears it up... obviously works now on another table.
June 1, 2005 at 8:11 am
Unless this is for administration work I would suggest you find another way to solve your problem because the use of dynamic sql is strongly suggested againsts in a production...
June 1, 2005 at 8:07 am
I know that but this query results in a scan :
Declare @name as varchar(10)
set @Name = 'id'
Select * from dbo.SysColumns where name like @Name + '%'
June 1, 2005 at 7:56 am
Nice point... but I'm still not totally sure of what he wants to do.
June 1, 2005 at 7:53 am
null = null returns unknown (without returning false, it doesn't return true). So there's just no match found in that query.
June 1, 2005 at 7:39 am
well this would do it in this case.. but what are you trying to achieve exactly?
set @MyMin = ISNULL((Select min(Number) from dbo.Fruits), 0)
June 1, 2005 at 7:37 am
I can't replicate that index seek here..
Can you post the ddl and some sample data so I can understand what I'm doing wrong?
June 1, 2005 at 7:24 am
I was just prooving your point.. you can't have duplicate values on the clustered index...
June 1, 2005 at 7:23 am
Hey Frank, do you have a link where I can learn to show more smiley faces than the one I already way too overused (
June 1, 2005 at 7:12 am
wow.. thanx for the trick, really gonna be usefull one of these days.
June 1, 2005 at 7:07 am
I could post it but it would be in french so I'll pass on this occasion, but I created this little script.
create table #a
(
A int not null
)
GO
Insert into #a (a)...
June 1, 2005 at 7:02 am
Yup... we sometimes have huge threads and we have no other choice than to have 'em on difference pages. Also helps to see the sponsors more (hey they got...
June 1, 2005 at 6:52 am
Try something like this in the datasource of the textbox :
=DateDiff("h";[StartDate];[EndDate])
then at the bottom of the report you should be able to use sum([txtboxname])
June 1, 2005 at 6:33 am
This would look something like this :
Select * from dbo.YourTable where YourCol = '123456f' collate LATIN1_GENERAL_CS_AC
June 1, 2005 at 6:21 am
Viewing 15 posts - 17,506 through 17,520 (of 18,926 total)