Viewing 15 posts - 1,936 through 1,950 (of 2,064 total)
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
1)Always gives the fields a name instead of using SELECT *
INSERT INTO dbo.ORDERS
(Id_record, Id_title, Customer, Order_ID)
SELECT Id_record, Id_title, Customer, @random
FROM dbo.Cart CART
WHERE Cart.Customer = @user
The query analyzer can script...
October 7, 2005 at 5:51 am
You indeed have to update the client tools of who connects to sql server sp4.
October 6, 2005 at 2:14 pm
Viewing 15 posts - 1,936 through 1,950 (of 2,064 total)