Viewing 15 posts - 48,766 through 48,780 (of 49,563 total)
What do you mean by 'no order'?
If you want your data back in a specific order, you must specify an order by clause. Otherwise it comes back however the...
March 26, 2007 at 3:30 am
Or maybe what I've seen on a lot of other forums. The text bix to enter the new post is at the top of the page and all the other...
March 23, 2007 at 5:58 am
Try this way indstead. Aside from the divide by zero, it's better for index selection (if you have appropriate indexes)
Select *
from table t
where t.value_a > 10*t.value_b
AND t.value_c...
March 21, 2007 at 11:08 am
Or you can use sys.dm_exec_requests and pass the SQL handle to the sys.dm_exec_sql_text function and get the entire sql statement. (DBCC Inputbuffer only displays the first 255 characters)
select * from...
March 21, 2007 at 5:25 am
That's not ideal either because, at optimisation, the query optimiser can't evaluate the first half of the or. SQL doesn't have short circuit evaluation
The only way I've managed to deal...
March 21, 2007 at 3:46 am
Don't know about the global parameters, I don't think we use them. Our DTS packages are mainly complex data flows.
What we decided to do was to ensure that the people who...
March 20, 2007 at 7:10 am
Not sure if this is addressed to me or not, but I'll answer.
No, we're not using SSIS to exec the DTS packages. We imported the DTS packages as legacy objects...
March 20, 2007 at 6:57 am
Unable to execute DTS jobs migrated to Version 2005...Arg!!!!!! The learning curve for SSIS is VERY steep...I have to re-write every DTS package in 2005 before I can migrate
What problems...
March 20, 2007 at 4:33 am
Try this. It's not tested, but should work. It depends on the dummy course been the only one that all students take.
SELECT
*
March 16, 2007 at 2:25 am
There's nothing else? Foreign key? Flag anywhere?
It's doable, but it's not going to be a nice query. Let me see what I can come up with....
March 16, 2007 at 12:21 am
Remove the distinct from the in. x in (1,2,2,2,2,5) and x in (1,2,5) are equivalent.
Make sure you have an index on SKey and FTSKey.
Also, try the query as a left...
March 15, 2007 at 10:21 am
What distinguishes a dummy course from a real one?
I can give you a query that will find students with a single course, but if they have multiple, there will have...
March 15, 2007 at 10:14 am
I read about this on a blog some months back. Can't remember which one. I'm pretty sure it was one of the SQL dev teams.
SQL Server 2005 is under no...
March 15, 2007 at 1:45 am
There's no need to create a DTS package just to run a stored proc. A SQL Agent5 job is more than sufficient.
No need to add additional complexity.
March 15, 2007 at 12:37 am
Viewing 15 posts - 48,766 through 48,780 (of 49,563 total)