Viewing 15 posts - 1,921 through 1,935 (of 2,051 total)
Sure your security mapping is set right?
if you login , what does
SELECT 'The current user is: '+ convert(char(30), CURRENT_USER)return? October 11, 2005 at 12:13 pm
1)Beware that triggers are set-based
2)Only modified the second insert to include a check on contact1
CREATE TRIGGER Supp_contact_delete ON Contsupp
FOR DELETE
AS
SET NOCOUNT ON /*avoiding roundtrip, trigger doesn't return records*/
INSERT INTO...
October 11, 2005 at 12:00 pm
Quite simple. You can use the query analyzer for this.
use dbToCreateStoredProcedureIn /*making sure of the right database*/
CREATE PROCEDURE dbo.qryInvoice
/*all items should be owned by dbo*/
AS
SET NOCOUNT ON /*generally not needed...
October 11, 2005 at 11:41 am
not sure if sql server has a default for rowcount
What does
SET ROWCOUNT 0 /*all rows*/
select *
from ....
gives
you can query your connection settings with
DBCC USEROPTIONS
October 11, 2005 at 11:33 am
1) remember that a trigger is set-based
runs 1 time per command
2)how would you implement a trigger that stops the same
employee from having the two salaries on the same
day...so...
October 11, 2005 at 11:28 am
What do you mean with connect as default user?
Are you supplying an account name or is this using windows authentication?
October 11, 2005 at 12:36 am
The more compilations have an impact on the cpu usage. Cpu usage increased due blocking seems plausible: maintaining & checking locks, managing queues...
Mostly when my server is restarted it gets...
October 10, 2005 at 11:11 am
Odd issue, but thanks for posting
October 10, 2005 at 11:04 am
1)There is no difference between a view and a simple select for performance.
Beware of making views based upon views ->effect performance (possible to much data joined)
2)Views usually haven't and don't need...
October 10, 2005 at 3:00 am
1) take a backup of the current version
2)Try compacting & repairing in Access + recompile the code
3)See if everything got back to normal
4)Try decompiling your vba modules (start Access with...
October 10, 2005 at 2:48 am
This asks for a normalisation of the database. http://www.tutorialized.com/tutorial/Normalisation/7433
October 9, 2005 at 4:01 am
This is because you rely on implicit conversion between varchar and datetime
by default convert/cast use the mon dd yyyy hh:miAM format
when casting datetime to varchar
October 7, 2005 at 11:13 am
1) the EXEC sp_executeSql @SqlString
can be dropped, no need for dynamic sql here
2)There can be a few inner joins
3) The owner of the tables should be specified for better performance
SELECT...
October 7, 2005 at 11:02 am
What method/program you use to connect to your MSDE server?
October 7, 2005 at 5:52 am
Viewing 15 posts - 1,921 through 1,935 (of 2,051 total)