Viewing 15 posts - 2,176 through 2,190 (of 3,500 total)
LOL!!!! Well, no wonder I've been having such a rough go of it. Guess I gotta learn to program better, since I can't make the Aspergers go away... might...
December 10, 2015 at 5:20 pm
that would be too easy... it's LEN()
December 9, 2015 at 11:41 pm
You can shrink the database, but you'll need to rebuild all the indexes, because shrinking the DB makes a mess of the indexing.
December 9, 2015 at 3:12 pm
I can't claim to be an expert on the subject, but here's a good article by Itzik Ben-Gan that shows different ways to do it and the performance of each...
December 9, 2015 at 3:02 pm
Sorry, gotta read more slowly.
What does the WHERE clause of your stored procedure look like? Do you have defaults set for the two parameters?
December 9, 2015 at 1:44 pm
Something like this maybe?
declare @tbl table(dt datetime, completeName varchar(100))
INSERT INTO @tbl values('20151130', 'Me'), ('20151110', 'other people'), ('20151201', 'candidat 1'), ('20151201', 'candidat 2')
SELECT * FROM @tbl order by dt ;
SELECT t1.dt,
stuff(...
December 9, 2015 at 1:36 am
Oh, that's much easier. If all you want is to show the parameter value in the header in upper case, put a textbox in the header, and set the...
December 8, 2015 at 6:40 pm
You're using SQL 2005, right? (Just to be sure I'm not creating a solution that won't work on 2005!)
Here's a query that would identify just the first id....
WITH MyDupesRN AS...
December 8, 2015 at 4:59 pm
Not enough information given to answer the question. If this is a child table to another table, then there may be a good reason for duplicate values. ...
December 8, 2015 at 4:24 pm
Are you trying to force the parameter value being supplied by the user to be converted to upper case as they type?
December 8, 2015 at 3:49 pm
If you just want to show the parameter on your report, but in uppercase, I would do it in SSRS.
Something like
=UCase(Parameters!ParamName.Value)
where ParamName is the name of your parameter.
For grins, this...
December 8, 2015 at 3:12 pm
You can't with a Calendar control... You'd have to use a dropdown and use a query against a Calendar table.
December 8, 2015 at 1:33 pm
create table scripts? insert scripts? expected results?
I'm holding up some fingers. Guess how many.
December 6, 2015 at 11:53 pm
a view would probably be simplest. But test it for yourself. Clear the buffers on your dev server (not the production server!!!), set statistics IO on, set statistics...
December 6, 2015 at 11:27 pm
If all the parameters have defaults, then there's nothing for the report to wait for... you could add a fake parameter and SSRS would be forced to wait for the...
December 5, 2015 at 9:59 pm
Viewing 15 posts - 2,176 through 2,190 (of 3,500 total)