Viewing 15 posts - 2,641 through 2,655 (of 3,654 total)
No the 2nd parameter is the user within the database.
Normally, within SQL 7 and 2000 a single login can be a single user in any one database.
What we...
October 7, 2005 at 3:26 pm
I've spent 1 month tuning 400 queries that use a variety of methods for joining tables so from a performance point of view it makes little, if any difference whether...
October 7, 2005 at 3:23 pm
Let us suppose you have 3 logins for your app
Domain\Tom
Domain\Dick
Domain\Harriet
Within your database you would run
exec sp_addalias 'Domain\Tom','dbo'
exec sp_addalias 'Domain\Dick','dbo'
exec sp_addalias 'Domain\Harriet','dbo'
Even though your 3 users log on with their own...
October 7, 2005 at 1:46 pm
If you are using stored procedures make sure that you have SET NOCOUNT ON at the head of each stored procedure. I have timed 10,000 itterations of a simple...
October 7, 2005 at 1:39 pm
The ANSI standard is your method but for the most part it is a case of personal preference.
My personal preference is to keep the WHERE clause for filtering and the...
October 7, 2005 at 1:27 pm
In the days of SQL 6.5 there was only ever one dbo so in order to grant dbo privileges there was an sp_addalias stored procedure to allow many logins to...
October 7, 2005 at 1:23 pm
I've mentioned it before but during the industrial revolution one of the big Lancashire mill owners discovered that if employees only had to work 14 hours a day instead of...
October 7, 2005 at 1:21 pm
There are two sorts of bunking off when you are not physically sick.
1. You are swinging the leg because you fancy a day off.
2. You are burnt out and need...
October 6, 2005 at 4:06 pm
Personally I would be very surprised if it could but in the old days of the Commodore Pet you could POKE a location with a certain value and the motherboard...
September 27, 2005 at 1:47 pm
I looked into creating extended stored procedures but I found that they were more trouble than they were worth.
I took to creating ActiveX DLLs and using sp_OACreate etc to instantiate...
September 27, 2005 at 1:42 pm
What build number do you get when your run SELECT @@VERSION?
Is it 2 separate users firing these processes or a single user?
If it is one person firing off one command...
September 23, 2005 at 3:48 pm
You don't actually seem to be using t_HAFAccount so why use it in the join. Assuming that you are actually going to use it and the query isn't finished...
September 23, 2005 at 3:40 pm
OK encrypt your procs but make sure that you have scripts should you need to get hold of them. Frankly it is more trouble than it is worth.
I wouldn't...
September 23, 2005 at 3:16 pm
How do they name hurricanes anyway?
What they don't tell blokes about marriage is that you evolve a new sense organ called the marital radar. It pings like crazy when...
September 23, 2005 at 3:00 pm
Thanks Rudy,
We are currently experiencing the old TempDB contention issue that was partially fixed by Hotfix 818. We are running back at SP3a on build 760.
I am going to...
September 23, 2005 at 1:55 pm
Viewing 15 posts - 2,641 through 2,655 (of 3,654 total)