User's Last Access Date

Mar 14, 2001

Is there a way to find out the user's last access date on SQL Server 6.5?
Any answers would be appreciated. Thanks

View 1 Replies


ADVERTISEMENT

SQL Server 2012 :: Query To Find User Who Last Modified User Roles / Access?

Dec 6, 2013

I would like to know if there is a way to find out who changed a users roles/access WITHOUT using the audit function. For example, if a user account was created and given SA access then changed to read only, how can I find out who made that change? I tried searching for an answer, but kept getting no results. I'm thinking this may tie into the sys.sysusers view?

View 3 Replies View Related

How To Setup The User Access Right To A BackupOperator User In SQL2005.. Thanks

Nov 21, 2007

I would like the Backup SQL user A can backup and restore DATABASE_a, what access right I need to grant to him. Although he can backup the database_a to the c:Program Files.....Database_a.BAK but he cannot restore it with some message said ''not enough security privieges..

Please quote some example right assigment so that I can replicate to our environment

Many Thanks...

View 6 Replies View Related

Multi-user Access Through A Data-access Layer/remoting Server

Oct 30, 2007

Hi guys,

I've been developing desktop client-server and web apps and have used Access and SQL Server Standard most of the time.
I'm looking into using SQL CE, and had a few questions that I can't seem to get a clear picture on:

- The documentation for CE says that it supports 256 simultaneous connections and offers the Isolation levels, Transactions, Locking, etc with a 4GB DB. But most people say that CE is strictly a single-user DB and should not be used as a DB Server.
Could CE be extended for use as a multi-user DB Server by creating a custom server such as a .NET Remoting Server hosted through a Windows Service (or any other custom host) on a machine whereby the CE DB would run in-process with this server on the machine which would then be accessed by multiple users from multiple machines??
Clients PCs -> Server PC hosting Remoting Service -> ADO.NET -> SQL CE

- and further more can we use Enterprise Services (Serviced Components) to connect to SQL CE and further extend this model to offer a pure high-quality DB Server?
Clients PCs -> Server PC hosting Remoting Service -> Enterprise Services -> ADO.NET -> SQL CE

Seems quite doable to me, but I may be wrong..please let me know either ways

Thanks,
CP

View 3 Replies View Related

How To: Determine If Current Windows User Has Login Access, Database Access And If They Are A Member Of A Specific DB Role.

Mar 25, 2008


I need to determine the following about the current authenticated Windows domain user who is trying to access a SQL Server via a trusted connection.

1 Has the current user been granted login access to the trusted SQL Server?

2 Has the current user been granted access to a specific database?

3 Is the current user a member of a specific database role such as (DB_ROLE_ADMINISTRATORS)?

Thanks,
Sean

View 6 Replies View Related

Reporting Services :: Check Access Fails To Grant Access To Report Item For Current User

Sep 10, 2015

Is there any way to get more information for when IAuthorizationExtension::CheckAccess fails to grant access to a report item for the current user? Specifically, it would be useful to know:

1. URL of attempted report
2. IP address of user agent
3. Identity of current user
4. Date/Time of the failed attempt

ssrs2014

View 7 Replies View Related

MS ACCESS SSIS Fails On Bad Date In ACCESS

May 11, 2007

I am receiving the following errors while trying to import data from an access database.


[Destination 2 - Amc_C_ARRV [400]] Error: An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Invalid character value for cast specification".



[Destination 2 - Amc_C_ARRV [400]] Error: There was an error with input column "tSympOnsetDate" (494) on input "Destination Input" (413). The column status returned was: "Conversion failed because the data value overflowed the specified type.".



[Destination 2 - Amc_C_ARRV [400]] Error: The "input "Destination Input" (413)" failed because error code 0xC020907A occurred, and the error row disposition on "input "Destination Input" (413)" specifies failure on error. An error occurred on the specified object of the specified component.





The source database has "invalid" dates such as "6/4/199" and "12/23/1899". I am unable to change the data in the source database and have been instructed to load the values as nulls in the SQL destination tables. I tried to do a conditional split using a "ISDATE()" function but that is not a valid function for conditional splits.



What are my options for validating the incoming dates are correct or nulling the dates out that aren't



Thank you in advance,



Tom E.

View 11 Replies View Related

Splitting SQL Server Date/Time Column Into Access Date Column And Access Time Column

Jan 24, 2008

I have an SSIS package that moves data from SQL Server to an legacy Access database. In SQL Server, there is a date/time column that I need to split into a separate date column and time column in the access database. Initially I just created a derrived column for the time and set the expression equal to the source date/time column from SQL Server. Unfortunately, that just makes the date column and time column the same having the full date/time.

What expression can I use during a derrived column transformation to assign just the date to a derrived column and just the time to another derrived column?

Thanks,

Steve

View 3 Replies View Related

User Access Right

Dec 4, 2006

Is there any way I can enable a user to run a stored procedure but nothing else in SQL2000, not event select/insert/update/delete on any table.

View 3 Replies View Related

Only One User Allow To Access DB.

Jan 3, 2008

Hi,

Is it possible to allow only a particular user to e.g. User1 to access the database the user created? Not even the Built-in administrator or the sa can access? I am using Mixed mode authenication..

Thanks.

View 5 Replies View Related

Tracking User Access To A DB

Mar 22, 2001

Hi,

Does any one have any idea of how to track a user access to a spesfic DB because we have an old DB and we don't know if any body using it, I know Profiler can help but I need to know when it was the last time this DB has been accessed.

Thanks

View 4 Replies View Related

User Access Information....

Apr 23, 2001

Hi All,
I'd like to be able run some SQL or t-SQL to get a list of all
databases that a user has access to....

Something like below....

select databases
from ?
where usedid = 'david'

--->
databases
-----------------
Northwind
Pubs
master

View 1 Replies View Related

Can't Access A User Table

Jun 5, 2001

My problem is that I can't query a couple of tables. I created them using DTS myself, in a db called contracts, and called one of them 010425. I've logged in as SA, and making sure the correct DB is shown in Query Analyser.

Here's the query...and very simple it is;

SELECT TOP 10 * FROM [dbo].[010425]

I just keep getting the following error message;

Server: Msg 208, Level 16, State 1, Line 1 Invalid object name 'dbo.010425'.

But it shows up in Sysobjects and EM!

I can query the system tables, using EXACTLY the same syntax...no problem there.

I've got SQL Server 7 running on W98. Everything is happening locally.

Any ideas what I'm doing wrong, people?

Thanks in advance for your help,


Jaishel

View 1 Replies View Related

User Database Access

Jul 7, 2000

When I try to give a login access to a database I get the message:
Error 21002: [SQL-DMO] users already exist in the database.
I checked sysusers for the database and the users name is in there, even if the user has no login.
Is it okay to just delete the record that has the users name from sysusers?
Thanks

View 1 Replies View Related

Is There A Way To Track User Access To Db?

Nov 8, 2004

I need to be able to track which users and the number of times a user connects to a particular SQL Server database. I have a simple SQL Server database that users query (SELECT only) using an Access 2000 front-end. I do not have any control over the front-end so my only tools on the database side. I can't use 3rd party software, just SQL Server. Is there any way? Thanks.

View 1 Replies View Related

Giving Access To User

Apr 8, 2008

Hi All,
I need to give access to one user only to truncate a particular table. I am not able to frame exact query for this. However i can user EM and do it.
But i wanted to know the query for this.


Thanks in advance.
-- Chetan

View 1 Replies View Related

Deny SQL User Access

Dec 11, 2007

I know this seems like a strange ask, but we have a common user and pass in most of our web applications and this user requires DBO access to the database, no problem is occasioannly we need to let a developer look at an issue on a production server, so we port them through to sql through the firewall so they can see it it, and they normally login wih there domain/username and this way they are restricted to what they can see and do. However all developers know the SQL user and pass used in the web app, they also know its a DBO, so this means they can login with these user details and have access to everything.

My question is how can i lock this down so i can deny access from the SQL management console for this particular user, but still allow the user to act as a DBO for the web applications.

your help here is appreciated.

Thanks

Brad

View 3 Replies View Related

User Access Configuration

Sep 24, 2007



Hi guys, I am having a problem in creating a login user access in advance. I would like to create a use login that having :

Grant access on

- CREATE TABLE
- ALTER TABLE
- Insert data
- Modify data
- Read data


Deny access on

- TRUNCATE TABLE
- DROP TABLE
- Delete data

Hope able to get help at here. Thank you.

Best Regards,
Hans

View 1 Replies View Related

Cannot Access User Database

Jun 11, 2007

Downloaded and install SQL 2005 on 2003 member server. Downloaded and ran SQLServerSamples.msi, AdventureWorksBI.msi, AdventureWorksDB.msi, and AdventureWorksLT.msi.



When I go into Sql Server Management Studio I cannot find the Adventure Works database under databases. How do I access it?



Thank you.

View 3 Replies View Related

Taking Date From User

Feb 2, 2006

hi i am taking date from user.

if i want to take only date or only time from user and save into database than what to do?

i am using MS SQL Server which takes datatype as 'datetime' which takes both date and time as value to store in database.

View 1 Replies View Related

Aspnet User Can Not Access Sql Server

Sep 13, 2005

We have an ASP.net application that currently sits on a server that runs IIS and sql server. We are spliting IIS and SQL server into 2 seperate machines. I believe I have the connection string okay as I can see the entries in the security log on the sql server machine however it keeps saying aspnet user invalid user or invalid password.  What gives with this.  We put .net on the sql server however this just added the aspnet user to the machine. Do I need to create an aspnet user inside the sql server and give it control of the dbases as well?  I am running this using the personal web server not IIS on a server.  I have a project on my desktop and am using the "local" IIS or personal web server that comes with visual studio out of the box.  What kills me is that when I put the project on a real IIS server that has sql server on the same machine I have no issues.  However when I split the dbase and the IIS apart onto 2 servers I get this aspnet invalid user or invalid password.  HELP

View 5 Replies View Related

How To List All The Objects That An User Has Access To?

Aug 27, 2004

Is there anyway, that I can generate a list of all the objects that a given user has access to (including type of access whether select or update etc), by running a SQL command? One of our databases has nearly 40,000 tables (no kidding!) I can always find this out by manually looking into the roles etc on the enterprise manager, but I need a way to find out using a T-SQL query..Thanks for any help!

View 2 Replies View Related

How To Create A New User With Automatic Access To All Db's

Jan 11, 2005

Hi,

I wonder if anyone can help. I'm trying to create a new user/login to a sql server 2000 box which will automatically have access to all the user databases on the instance. The user can't be a SA or anything however. It seems this can be done as the application which uses all these database has created such a user, however I need another which I will then make read-only.

Any ideas?

Thanks in advance

future2000!

View 1 Replies View Related

Managing User Access To Databases

Aug 21, 2002

Scenario:
1. Access to database objects is based on database roles.
2. Application administrators handle the assignment of users to database roles. Application administrators are first line managers, typically; they are not DBA's and not Help Desk staff.

Question:
What products are available to simplify the management of user access to databases in the aforementioned scenario?

TIA to all respondents.
--
Peter

View 2 Replies View Related

T-SQL - How To Grant Public Access To A DB For A User

Nov 2, 2007

I need an example of how to grant access to a SQL user to a DB. For the life of me I can't seem to get my syntax correct. My database name is TEST and my username is LEMME_IN and I want to grant the user "Public" access to the db with db_datareader, db_datawriter database role membership.

Thanks

View 1 Replies View Related

List All Databases That A User Has Access To

Nov 17, 2014

Any way to list all databases that a user has access to?

View 6 Replies View Related

SQL Server/Access 97 User Concurrency

Feb 6, 2004

I'm currently looking at a multi-user app that has an Access 97 frontend and an SQL2K backend. Proposed changes to the system mean that the user concurrency count is likely to increase dramatically, and I'm wanting to know if there are any limits to the concurrency for this architecture.

Any experiences/help appreciated.

View 2 Replies View Related

If User Is Mapped To Master - Can They Access All DBs

Mar 5, 2015

If a user is mapped to "master", (in login properties, user mapping) are they able to access all dbs, even though "master" is the only one with the check mark?

View 3 Replies View Related

Domain User Access Check

Jun 20, 2008

How to find out whether a domain user has access to sql server or not?

Many domain groups have access to my sql server. I need to check whether a user has access to server or not.

Probably I need to check which windows group the user belongs. This looks more like an o/s question than DB. How do you guys manage this scenario?


------------------------
I think, therefore I am - Rene Descartes

View 4 Replies View Related

User Has Full DB Access By Default

Apr 10, 2007

I have a DB creation script which starts with the following lines

EXEC sp_addrole 'RAVENROLE'
go
IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'USER1')
CREATE USER [USER1] FOR LOGIN [USER1] WITH DEFAULT_SCHEMA=[USER1]
go
IF NOT EXISTS (SELECT * FROM sys.schemas WHERE name = N'USER1')
EXEC sys.sp_executesql N'CREATE SCHEMA [USER1] AUTHORIZATION [USER1]'
GO
EXEC sp_addrolemember 'RAVENROLE', 'WS-NOLANKTFSBUILD2'


Basically what I am doing is creating a role, then adding user USER1 to it. The problem is USER1 has full update, insert etc. permissions on all tables in the database by default. Even when I deny that user permissions they can still update, insert etc.

I am using Windows Authentication, User1 also exists as a windows user.

How do I ensure that User1 has no permissions by default? I want to be able to explicitly add them.

View 8 Replies View Related

Allowing A User Access To Only A Few Tables

Jul 20, 2005

With MS SQL 2000 Enterprise Manager, is there a way to allow a user accessto only a few tables, but deny the user access to the rest without having togo to all of the tables and denying access? The database has roughly 50tables, but only 3 should be granted to the new user, so as you can see itwould be a painstaking task to manually do this with the *cough* mouse. Or,if I can run some sort of grant script, that would work too. Thank you!

View 2 Replies View Related

User Can Not Access Reports From BIDS

Jan 22, 2008

Up to this point only two of use, both server administrators, have developed reports. Now we need to add two new report analysts to be able to develop reports in BIDS but limit their access to other server folders, etc. Our report source code is located at G:Visual Studio 2005 Source CodeProjects and all report folders, sln files, etc. are located under the Projects sub-folder. I have shared the Projects sub-folder and given read & execute / list folder contents / read / write / modify rights. They can see the report folders and sln files via BIDS or Explorer but get "access denied" when they attempt to execute one of them. Any thoughts on what I may be missing?

View 1 Replies View Related

Grant Insert Access To User

Feb 10, 2008

I am build an application that able to update insert delete an entries from my sql server, i create a new account in sql server management studio express so my app can connect to the database thru SQL Server Aurthentication. Delete & update method work well but my insert dont.

I change to the connection string to localhost ( WindowsAurthentication) and it works so i conclude that the problem lies on the sql user access. However I had already ticks everything on object explorer > security > logins > my user properties > Server Roles & User Mapping. What should i do inorder to grant insert/create database access to my sql user? Thanks.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved