Viewing 15 posts - 5,371 through 5,385 (of 13,465 total)
These lotsnof examples of logon triggers trying to prevent any access at all if they user tries to connect with ssms/access/excel.
Any logom trigger that tries to block bases on...
June 17, 2012 at 9:37 am
you do not have create a seperate group in Active directory.
go a head and create a role that has db_denydatawriter as Gail suggested.
roles in SQL Server are not an Either...
June 17, 2012 at 6:17 am
take a look at this forum post;
in the middle of it I've produced a script that exports all the database mail settings and profiles;
the only tough part is the SMTP...
June 16, 2012 at 11:10 am
here's one way to do it, but at some point, you have to make a logical decision about what database to use.
by using synonyms, you can reuse the same code,...
June 15, 2012 at 10:04 am
yes, you'll need either a VPN or a firewall hole to get to the DMZ server;
the whole purpose of the DMZ was to isolate it from contact for security purposes....
June 15, 2012 at 8:59 am
here's a couple fo examples:
note the end date, you might want to change that to be just lss than, unless you want to include midnight on 01-15-2012
--Hardcoded:
SELECT * From [SQLTable]...
June 15, 2012 at 7:05 am
or even better:
I've only done this for testing,but not in production:
research a little deeper on how to rename the sa user to something else, and create a regular user named...
June 15, 2012 at 5:58 am
with all the concerns about losing customer data, it's a pretty big liability hole;
how about putting them on a seperate SQL instance,instead of that production server, and that would...
June 15, 2012 at 5:54 am
what you posted originally was using an explicit connection string, and no DSN; did you ever confirm that you can connect from another machine?
June 15, 2012 at 5:47 am
bump it to the groups that handle the contracts and RFP's;
for example bring the issue up with the contracts/legal department; check to see if the contract explicitly states they...
June 15, 2012 at 5:42 am
dwain.c (6/14/2012)
Lowell - Another nice learning experience from you. That's now 2 in as many days!
I see this was introduced in SQL 2005. Any idea if it can...
June 15, 2012 at 4:41 am
If you have all the descriptions ready so you can script them; I would drop if exists and re add themback no matter what forget if the values are there...
June 14, 2012 at 7:36 pm
if it exists at all, even with old values?
this example would use IF EXISTS (i think!) to check if it's already there:
IF NOT EXISTS(SELECT 1
...
June 14, 2012 at 2:47 pm
i think either of these will do what you are asking:
SELECT *
FROM tbl_usermain FirstGuy
INNER JOIN tbl_user_friends FirstFriends
ON FirstGuy.user_id = FirstFriends.user_id
LEFT OUTER JOIN...
June 14, 2012 at 2:29 pm
something like this i think?
select
Rented.make,
Rented.model,
Rented.year,
Rented.location,
Rented.agent,
Rented.status,
Returned.status
from Rentals Rented
LEft Outer Join Rentals Returned
ON...
June 14, 2012 at 1:42 pm
Viewing 15 posts - 5,371 through 5,385 (of 13,465 total)