Disable Changes On SQL Server Table In MS Access

Apr 18, 2008

Hi,

is it possible to enable a user to perform changes on some SQL Server tables,
but to disable the changes on the same tables via MS Access for this user?

E.g. I can change a table on SQL Server, and me and some other users access the table via MS Access. I disabled the changes on the table by other users in general, only I can perform changes.
But I also want to disable the changes for myself if I view the table in MS Access.

Thanks
Katarina

View 2 Replies


ADVERTISEMENT

Can't Access Remote Sql Server If Disable Named Pipes

Dec 20, 2006

Hi,

I have windows 2003 (SP1) server with sql server 2000 (SP3) .

In the server network utility, I have enables only TCP/IP protocol and disabled the Named pipe protocol.

Now if I try to connect to the sql server from a remote machine, I get the message saying "unable to connect either server does not exist or ......".

I have configured the firewall to allow communication on TCP port 1433. It didn't help. I tried to disable the firewall completely, still it didn't work.

It works only if I enable Named pipe in the server's server network utility.

- Abhijit



View 1 Replies View Related

SQL Security :: How To Disable User Access To The Critical And System Stored Procedures

Sep 22, 2015

disable the following system stored procedure (xp_grantlogin and xp_revokelogin)?

View 5 Replies View Related

Can I Access MS Access Table In A Select Query Of SQL Server

Nov 29, 2006

Is there a way to specify a MS Access table (or query object) in the select query of SQL Server.

Ex.:

MSAccessTable (in file.mdb)



col1
col2

a1
a2

b1
b2

SQL query in SQL Server:

SELECT col1, col2 into SqlTable from [file.mdb].MSAccessTable;

Thanks,

View 3 Replies View Related

Disable Transaction Logging For Table

May 9, 2000

Is it possible to disable the logging operations for insert/update/delete in the transaction file for certain tables?

I have an application where I have to write temporary tables for calculations and printing and all the insert/update/delete absolutely don't have to be logged. They get deleted after use anyway.

Thomas Schoch

View 1 Replies View Related

How To Disable/enable An Identity Column In A Table

Jan 3, 2002

hi folks,
How to disable/enable an Identity Column in a table with the help of an sql
statement.
Thanks in advance.
Vineet Agarwal

View 1 Replies View Related

Disable/Enable A Trigger On A Replicated Table.

Apr 9, 2002

I have transaction replication setup on two SQL7 boxes and a nightly job runs a procedure that need to alter a table and disable a trigger. Since replication has been set up the disable doesn't work. Any way around this.

View 2 Replies View Related

Importing Access Table Into SQL Server 2005 Express Table And Adding One Field

Feb 16, 2007

Hi all,

Hopefully I am posting this question in the correct forum. I am still learning about SQL 2005. Here is my issue. I have an access db that I archive weekly into and SQL server table. I have used the dst wizard to create an import job and initally that worked fine. field I have as the primary key in the access db cannot be the primary key in the sql table since I archive weekly and that primary key field will be imported several time over. I overcame this initally by not having a primary key in the sql table. This table is strictly for reference. However, now I need to setup a unique field for each of the records in the sql table. What I have done so far is create a recordID field in the sql table that is an int and set as yes to Identify (auotnumber). That worked great and created unique id for all existing records. The problem now is on the import. When I try to import the access table i am getting an error because of the extra field in the sql table, and the error is saying cannot import null value into this field. So... my final question is how can I import the access table into the sql table with one extra field which is the autonumber unique field? Thanks a bunch for any asistance.

Bill

View 7 Replies View Related

Append Query From Access Table To Linked SQL Server Table Failing

Jun 18, 2004

Strange one here - I am posting this in both SQL Server and Access forums

Access is telling me it can't append any of the records due to a key violation.

The query:

INSERT INTO dbo_Colors ( NameColorID, Application, Red, Green, Blue )
SELECT Colors_Access.NameColorID, Colors_Access.Application, Colors_Access.Red, Colors_Access.Green, Colors_Access.Blue
FROM Colors_Access;

Colors_Access is linked from another MDB and dbo_Colors is linked from SQL Server 2000.

There are no indexes or foreign contraints on the SQL table. I have no relationships on the dbo_ table in my MDB. The query works if I append to another Access table. The datatypes all match between the two tables though the dbo_ tables has two additional fields not refrenced in the query.

I can manually append the records using cut and paste with no problems.

I have tried re-linking the tables.

Any ideas?
Thanks,
Brad

View 4 Replies View Related

SQL 2012 :: Disable Logins Automatically Depending Upon Expiry Date In A Table?

Jun 4, 2014

Disable logins on access expiry date(Not windows password expiry). we grant access to users on databases only for 60 days. So access is only valid for 60 days. Then the user should again request access to the database going thru security clearance. Thn the DBA's enable the login. Maintaining all these logins of users manually is causing more confusion.
As we know, we dont have any inbuilt functionality to automatically disable logins in SQL Server.

I have a table where the logins and expirydate were recorded in a DB.

Using this table and SQL Server agent. Can i achieve this process automated ?
CREATE TABLE [dbo].[LoginsExpiry](
[LoginName] [varchar](50) NULL,
[ExpiryDate] [date] NULL,
[Roles] [varchar](500)
) ON [PRIMARY]
GO

View 3 Replies View Related

How Do I Disable The SQL Server Logg

Feb 23, 2008



Hi,
Get an error in the log, "The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs." and for the moment I just wan't to disable all the server loggings.

Indeed errors should be investigated, but not for the moment...

Thanks!
Rickard

View 3 Replies View Related

How To Access A Table In Different Server

Jun 28, 2007

Hi All,
I have to to do SQL Query a table which is placed in different server than my current SQLServer.Please guide me to perform this task. 
Thanx,Karthik.A

View 1 Replies View Related

How To Access A Table From One Server To Another?

Oct 30, 2006

Hi,

Lets say i have 2 servers in my Computer. Local server and a common server (network) and i want to copy a table from common server to my local server . How to do that?.

View 3 Replies View Related

SQL Server 7.0 How To Disable Msdb.dbo.sp_sqlagent_get_perf_counters

Jan 25, 2004

Hi,

we are using MS SQL 7.0 and whenever the sp EXECUTE msdb.dbo.sp_sqlagent_get_perf_counters runs it causes huge io reads and at the same time CPU Util of Database server goes to 100% though the CPU util of this proc is 0 or near zero..

I am not sure though that this is the problem ...but to check whether this is the problem i need to disable this...

This runs every 20 seconds and i know we can disable this is sQL 2000
by changing registry settings ...

Is there a similar way for SQL 7.0 to disable this sp

View 2 Replies View Related

How To Disable Audit In SQL SERVER 2000?

May 8, 2008

Hi ,
Recently i enabled audit by selecting properties of the server and enabling audit-all.

Now i disabled audit by select audit level=NONE.Still i get trace files.

Can anyone help me,how to stop this?

I also rebooted the server??

View 2 Replies View Related

How To Disable Audit In SQL Server 2000?

May 15, 2008

Hi,
I disabled audit by right-clicking the server->security->and disabled audit->none..But also we seeing audit files.

Can anyone help me??

View 8 Replies View Related

Disable Windows Authentication In Server

Nov 5, 2015

How can I disable windows authentication mode in SQL Server using sql query or a windows command.

I know how to do it using management studio. i.e., security --> logins --> Builtin/Administrators --> status --> login --> disabled.

But I need to do this using the command.

View 6 Replies View Related

Enable/Disable SQL Server Login

Oct 13, 2005

Hi,

View 4 Replies View Related

Editing A SQL Server Table Via MS Access

May 3, 2000

Hello!

We have a SQL Server table that needs to be maintained by the actuarial department. Therefore, I was going to have them make changes to the table using something easy like Microsoft Access 2000. When I go into Access and create an ODBC link to the table, I cannot change the data. (i.e. The insert new record feature is greyed out.) I CAN change the data via Enterprise Manager, so I don't think it is SQL Server security. Any other ideas?

Thanks,
Sharon

View 1 Replies View Related

Uploading Access 97 Table To SQL Server

Oct 16, 1998

Hi all,

Please bear with me because I am brand new to SQL Server, and I may not be using the correct wording to explain everything...

I`m using Access 97 to upload a table to a SQL Server 6.5 database. I also have SQL Enterprise Manager. The allocated space on the SQL Server for my database is 20 MB and the space for my database log file is 4 MB. The first time I tried to upload a table to the database, I got the following error:

[Microsoft][ODBC SQL Server Driver][SQL Server] Can`t allocate space for object "syslogs` in database `testpropcontdb` because the `logsegment` segment is full. If you ran out of space in Syslogs, dump the transaction log. Otherwise, use ALTER DATABASE or sp_extendsegment to increase the size of the segment (#1105)

I went into the Enterprise Manager and right clicked on my database and selected edit. It shows that I have 19.89 of the 20 MB free, and all 4 MB of my log space free.

When I select GET EXTERNAL DATA -> LINK TABLES from the FILE menu in Access, and link to the table I just uploaded to SQL Server, the structure (field names and attributes) is there, even though I got that error message earlier. There is just no data being uploaded.

Could someone please point me in the right direction? I`ve been reading help files and searching the net, but I haven`t figured out what is causing this error message.

Thanks in advance for lending your expertise.

Elizabeth Fisher

View 3 Replies View Related

Link To An Access Table From SQL Server

Feb 26, 2007

I'm trying to find how to link to an Access table from within SQL Server. I know I have seen it once, but can not remember where I saw it. I'm using SQL Server 2005. TIA,

View 5 Replies View Related

Need Help.insert Into Sql Server Frm Access Table

Jan 11, 2008

hi, why this give me this error...

Msg 8152, Level 16, State 13, Line 1
String or binary data would be truncated.
The statement has been terminated.



INSERT INTO magpatoc.dbo.RSOTransfer(RSONO, Customer, ItemCode, ItemDescription, Source, MOQ, QuantityRequired, Remarks, ZeroStock, NewProduct, ProjectForecast, WithMotherPO, Other, RequestedBy, RequestedDatetime, NotedBy, RecievedBy, RecievedDatetime, PreparedBy, PreparedDatetime, ApprovedBy, ApprovedDate, ReservationNoDate, PurchaseOrderNo)
SELECT *
FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'c:CopyOfRSODB.mdb';'admin';'', FinalCustItemRSO)


help please..

ed9teenMagnaza

View 1 Replies View Related

How To Edit A SQL Server Table From MS Access?

Apr 30, 2007



Hi guys,



I need provide some of my users an easy way of accessing a SQL Server table through MS Access so that

they can edit the table.



Please let me know which of the following is more appropriate to accomplish this task.


1. Creating a Data Access Page

2. Creating a Link Table
I thought I could it do it though a Data Access Page but I was only able to see the data but not edit it. But, I
know there is a way of doing this. Please throw some light on this topic.

Thanks a lot for your time.
Regards,
-RL.

View 3 Replies View Related

SQL Server 2012 :: Disable Only One Trigger Action?

May 6, 2014

I have a trigger that executes AFTER INSERT, UPDATE, DELETE. Is there a way to disable and then reenable only the "AFTER DELETE", letting AFTER INSERT, UPDATE act normally?

View 6 Replies View Related

SQL Server 2008 :: Enable And Disable Trigger

Oct 25, 2015

the disable trigger will be enable again.Because I already disable the trigger on last month, but when I check through the database, it enable again.I understand that, when we restore the database, all the trigger will be enable.How about SQL Cluster? will it enable the trigger??

View 3 Replies View Related

How Disable Named Pipes In SQL Server 2000 From VB.NET

Jul 17, 2006















Hello,

I have a big problem with SQL Server 2000 and Visual Basic .Net. I wont disable named Pipes from code write in Visual Basic (.Net). How make this ?

This problem is very important for me.

Help me! Please!!!

View 1 Replies View Related

Migration Of MS-Access Table Into SQL Server 2000

Dec 12, 2005

Venkatesh writes "In MS-Access table a coulmn is specified as Auto number property.
I want to migrate this table into SQL Server.

We can create a new column that has identity property in SQL Server 2000, which simulate autonumber property of MS-Access.

My access table contains 700 records and I need to set the column (ListID) as Auto number. i.e., I m going to modify this
coulmn with identity property.

But I cant set the identity property for the existing column.

Can u pls send me the sql query that modify the existing column(ListId) with Identity property.

Regards
Venkatesh"

View 2 Replies View Related

Bigint From A SQL Server Table And Viewing With Access

Mar 17, 2008

HI all, we have a table that has it's primary key data type Bigint. Isthere any way with Access to view this table? I find it hard tobelieve that two tools from MS don't play nice with each other, may beI should.SQL Server 2005Access 2003TIA

View 5 Replies View Related

Inserting Data From Access Table Into Sql Server With Vb.net

Jan 8, 2008

I am wanting to insert the data from a table in access into a table in an SQL database. I am using VB.Net 2005.

Any idea's, cheers, Darren.

View 5 Replies View Related

How To Edit A SQL Server Table From Microsoft ACCESS?

Apr 30, 2007

Hi guys,



I need to provide some of my users an easy way of accessing a SQL Server table through MS Access so

that they can edit the data in the table.



Please let me know which of the following is more appropriate to accomplish this task.

1. Creating a Data Access Page (OR)

2. Creating a Link Table



I tried to create a Data Access Page but I could only be able to see but not edit the data in the table. But, I

guess there is a way to do that.



Please throw some light on this topic.



Thanks a lot for your time.

-RL

View 1 Replies View Related

Query Sql Server Table Attached In Access

Jan 10, 2007

Hello,

I have attached a Sql Server table in an Access database.

This wasn't a problem, I can open my attached table from Access, use it in queries.

Now I'm trying to open it from an asp page, for example :

SQL="SELECT * FROM myAttachedTable"
Set Rs= server.createobject("ADODB.Recordset")
Rs.Open SQL, myAccessConnectionString , 3, 4

I get :

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][Pilote ODBC Microsoft Access] ODBC -- failed connection to 'My SQL Server'.

again if I enter the same sql query directly in Access it all works.

What am I missing ?

Thanks a lot

View 5 Replies View Related

How To Disable Autmatic Round Of Of A Decimal Number In Sql Server Using Asp.net?

Jan 12, 2008

Hi all,
I am sorry if i am posting this error in an inappropriate froum.
Well in my asp.net intranet web application i want to enter a number to the database(sql sever 2005) that has a column(schoolkm) whose type is decimal(9, 2). Now if i want to enter the value 1.5 in the text box and enter that value to the database through interface then that value automatically rounds to 2. But when i get into the table and enter that value by hand then that value enters perfectly i.e. without rounding of. I want to know the reason and how can i cure this problem.
Regards & thanks in advance

View 5 Replies View Related

SQL Server 2012 :: Rule Of Thumb When To Disable Indexes?

Jun 19, 2014

It's often said or done that when inserting or updating into a 'large' table that disabling the non-clustered indexes can is needed for performance.

Now I know the obvious way to find out if this is best or not is by testing the different options. I was wondering if there was a rule of thumb to this?

Say you have a table with half a billion rows and 4 non-clustered indexes and are only updating half a million rows then sometimes disabling every night and re-enabling can take way more time than the actual update. Haven't found an articles advising to disable them when a table is over X rows and you are updating Y% of them...

View 5 Replies View Related







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