Viewing 15 posts - 1,831 through 1,845 (of 2,051 total)
Login failed for user SA is sql authentication.
Sure you haven't changed the password for SA?
Can you login using windows authentication?
November 5, 2005 at 6:44 am
Also have a look at the CASE statement (acts like an if).
Also consider splitting up your processing to set-based solutions.
example:
SELECT 'ABC' WHERE myfield1='A'
SELECT 'DEF' WHERE myfield2 ='B'
SELECT
CASE myfield1='A'...
November 5, 2005 at 6:40 am
syntax 2 has more chance to perform better and it is more readable.
since you use inner joins, you could trim it to
SELECT RTrim(CONTACT.LName) + ', ' + CONTACT.FName AS 'Contact...
November 5, 2005 at 6:31 am
Sure you are right-clicking on a stored procedure since the menu is context-sensitive?
November 5, 2005 at 6:21 am
if you use AWE you have to set memory SQL Server to a fixed amount (no dynamic allocation)
second you can't rely on the taskmanager to view its memory usage, use...
November 3, 2005 at 5:10 am
1)Where exactly you have that BOF EOF is true?
2)Try to name your field instead of using .*. This prevents returning unwanted columns, being more clear of the fields requested.
2)Try specifying...
November 2, 2005 at 7:07 am
Have you rebooted the OS between changes?
November 2, 2005 at 6:42 am
are you using ADO's NextResultSet ?
from http://www.windowsitpro.com/SQLServer/Article/ArticleID/27576/27576.html
When I have to extract data from multiple tables, which approach is more efficient: creating one stored procedure that uses ADO's NextResultSet method...
November 1, 2005 at 11:42 am
I assume you have set the filtering properly to monitor only that statement on that very specific machine? (to exclude other users)
If you keep getting them double it must be the...
November 1, 2005 at 11:24 am
How do you verify it only runs the first step?
I have no background of access newer than 2000.
Probably it is returning multiple recordsets and your procedure only browses the first....
November 1, 2005 at 8:31 am
Reapply the service pack, perhaps the installation wasn't succesfull.
November 1, 2005 at 8:02 am
select stock.co_id,stock.date1,stock.[open],stock.high,stock.low
from dbo.stock stock
inner join /*only matches*/
(
select co_id,max(date1) as lastdate
from dbo.stock
group by co_id
) As stocklastdate /*subquery to select on last date for each id*/
on stock.co_id=stocklastdate.co_id
and stock.date1=stocklastdate.lastdate
order by stock.co_id
November 1, 2005 at 7:57 am
Try SP:StmtCompleted and SQL:StmtCompleted in addition to RPC:Completed (stored procedures) and SQL:BatchCompleted
November 1, 2005 at 7:44 am
in a stored procedure
CREATE PROCEDURE USP_DOSOMEWORK
AS
EXECUTE USP_STEP1
EXECUTE USP_STEP2
...
November 1, 2005 at 7:23 am
Viewing 15 posts - 1,831 through 1,845 (of 2,051 total)