home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Query tool and access rights

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1734
Discussions: 200,505, Posts: 2,374,382, Members: 245,828
Old September 27th, 2007, 05:17 PM   Digg it!   #1 (permalink)
Mobile Member
 
ShuckyD's Avatar
 
Join Date: Apr 2005
Location: S. Central PA
Posts: 3,599
Query tool and access rights

I wanted to know others opinions on tools like Query Analyzer... I use it at work alot because im always running stuff on our SQLServer DB. I like Query Analyser but i definately see it for someone who is somewhat familiar with computers. The reason I say this is because at work we had an accounting person come in and talk to our accountants and tell them how to get at the data they need on the backend of the DB, so this is somewhat good because it will take a good bit of the queries off of me.

Anyway what I wated to know is if there are any free programs out there like query analyzer that have less controls and really will just give the user an interface to right their query and run it? I also wanted to ask about how I should do the security on them.. I usually do my work with the sa password, or use a "Trusted Connection" and i guess since in AD im an Admin I have ample rights... How should I set the few people up that want to be able to run .sql queries on the database? Should I add database users? If so how do I make it so all they can do for one DB are SELECT statements?

Thoughts/Suggestions?

__________________
Thinkpad T61 14.1" wide | WinXP Pro | C2D T8300 CPU | 3GB DDR2 | 160GB HDD | AGN & WWAN
Lenovo S10 10.2" LED display | 1.6Ghz Atom CPU | 1GB DDR2 | 1.3mp webcam | B/G WiFi | 160GB HDD
ShuckyD is offline   Reply With Quote
Old September 27th, 2007, 08:26 PM     #2 (permalink)
Mobile Member
 
ShuckyD's Avatar
 
Join Date: Apr 2005
Location: S. Central PA
Posts: 3,599
noone has anything... ?
ShuckyD is offline   Reply With Quote
Old September 27th, 2007, 10:05 PM     #3 (permalink)
Super F@D Folder
 
Join Date: Jun 2004
Posts: 5,080
Send a message via AIM to sr71000
what db server you running? ms? oracle? mysql?
sr71000 is offline   Reply With Quote
Old September 27th, 2007, 10:45 PM     #4 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,215
in enterprise manager you can add their AD user to the security for the server.
Then go to the database and right click the specific tables you want to give them rights to and select properties
On the page there is a permissions button you can give the users specific select/insert/delete rights

If you have at least sql 2000 you can create 'Roles' (aka groups).
You assign hte permissions on the tables by Roles, then add the users to the specific Role

ie if you want a reporting Role for your accounting people.

I never ever use the sa account, I only use trusted.

If I'm creating a website then I use sql server accounts that only have rights to specific tables.
You can also specify which columsn to give people rights to if you wish.
vass0922 is online now   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Query Help [Neo770] Applications and Operating Systems 9 May 29th, 2007 10:30 PM
MS Access Help with a Query Marvinator Applications and Operating Systems 2 December 2nd, 2003 03:24 PM
Access 97 Query kickzum Applications and Operating Systems 6 August 30th, 2002 06:28 PM
Access query problem SlipGun Webmastering and Programming 9 April 15th, 2002 10:24 PM
Update Query in MS Access 2000 ctaylor Webmastering and Programming 11 March 2nd, 2002 04:45 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (1634)
FT HOOD attack: 7 killed 12 injured (65)
HELP!!! What do you think of this s.. (15)
Looking for a graphic card that wil.. (30)
My 1st pc build (40)
Aero in Vista (7)
core i7 extreme 975, nvidia 9400gt (9)
PC Modern Warfare 2: it's much wors.. (12)
Building my first computer (13)
How to Ship a PC (16)
slaving laptop drive (7)
[F@H SPAM 11/1/09]New month . . . n.. (33)
Windows 7 Keeps Restarting Itself (7)
Need Assistance Overclocking and Ra.. (14)
Recent Discussions
New Processor, Monitor will not turn .. (1)
HELP!!! What do you think of this sys.. (15)
FAT32 to NTFS file system in Win2kpro (2)
2009 Build (4)
Internet very slow since updating AVG.. (7)
Review My Build (2)
My 1st pc build (40)
Freezing During Music/Movies (1)
Windows Experience Index is screwed u.. (2)
ext. sound card laptop to stereo syst.. (2)
Remote Desktop via SSH and error mess.. (2)
Help and Support disappeared from my .. (0)
[F@H SPAM 11/1/09]New month . . . new.. (33)
Basic applications needed for "r.. (1)
core i7 extreme 975, nvidia 9400gt (9)
hard drive problem (2)
Win7 TrustedInstaller Permissions (2)
Speed up Win 7 boot time a bit (1)
Hard Drive test program (2)
wireless westell versalink model 327w (1)
New build 10 second reboot cycle! Won.. (3)
New Linksys Routers (2)
sometime power/Amber light (0)
Motherboards and my curse... (24)
Mic won't work. (2)


All times are GMT -4. The time now is 12:40 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28