OVH Cloud OVH Cloud

Table en lecture seule

4 réponses
Avatar
Michel
Bonjour

Je cr=E9e une table.

Avec le m=EAme profil, je peux modifier son contenu=20
(cr=E9ation, mise =E0 jour) avec Enterprise Manager, mais avec=20
Query Analyser, cette table est en "read only".

Que faut il faire ?

Merci d'avance

Michel

4 réponses

Avatar
TedIF
Pour modifier les données d'une table seule une commande sql update est
permise.

"Michel" a écrit dans le message de
news:12f301c51037$d4821df0$
Bonjour

Je crée une table.

Avec le même profil, je peux modifier son contenu
(création, mise à jour) avec Enterprise Manager, mais avec
Query Analyser, cette table est en "read only".

Que faut il faire ?

Merci d'avance

Michel
Avatar
Michel
Et en table "attachée" ACCESS 2000, la mise à jour n'est
pas possible

Michel
-----Message d'origine-----
Pour modifier les données d'une table seule une commande


sql update est
permise.

"Michel" a écrit


dans le message de
news:12f301c51037$d4821df0$
Bonjour

Je crée une table.

Avec le même profil, je peux modifier son contenu
(création, mise à jour) avec Enterprise Manager, mais avec
Query Analyser, cette table est en "read only".

Que faut il faire ?

Merci d'avance

Michel


.



Avatar
Fabian SIRACH [MS]
Bonjour,

Il y a un petit problème d'affichage lorsque vous utilisez "l'object
explorer" de "Query Analyzer" . Ce phénomène se produit uniquement lorsque
la table n'a pas de clé primaire. Pas de problèmes en revanche lorsque vous
utilisez Enterprise Manager.

Description:
=========== When a table does not have a primary key or clustered index defined, it can
not be modified in the object browser within Query Analyzer. The table opens
as read-only. If the table does have a Primary Key, records can be edited by
right clicking on Open. In Enterprise Manager you are able to open any table
and edit the records regardless of a primary key or clustered index.

Repro:
===== 1. Run the following in Query Analyzer:

--Create table with no Primary Key or clustered index:
use pubs
go

create table no_pk
(col_1 int)
go

-- Create table with Primary key:

create table has_pk
(col_1 int primary key)

go

3. Open query Analyzer and right click on the no_pk table using the object
browser.

4. Choose Open from the menu and notice the table opens as "read-only"


Cordialement

Fabian


"Michel" wrote in message
news:12f301c51037$d4821df0$
Bonjour

Je crée une table.

Avec le même profil, je peux modifier son contenu
(création, mise à jour) avec Enterprise Manager, mais avec
Query Analyser, cette table est en "read only".

Que faut il faire ?

Merci d'avance

Michel
Avatar
Michel
Bonjour,

Merci c'était en effet le cas, il n'y avait pas de cle
primaire.

Mon problème est résolu

Grand merci encore

Michel

-----Message d'origine-----
Bonjour,

Il y a un petit problème d'affichage lorsque vous


utilisez "l'object
explorer" de "Query Analyzer" . Ce phénomène se produit


uniquement lorsque
la table n'a pas de clé primaire. Pas de problèmes en


revanche lorsque vous
utilisez Enterprise Manager.

Description:
============
When a table does not have a primary key or clustered


index defined, it can
not be modified in the object browser within Query


Analyzer. The table opens
as read-only. If the table does have a Primary Key,


records can be edited by
right clicking on Open. In Enterprise Manager you are


able to open any table
and edit the records regardless of a primary key or


clustered index.

Repro:
======
1. Run the following in Query Analyzer:

--Create table with no Primary Key or clustered index:
use pubs
go

create table no_pk
(col_1 int)
go

-- Create table with Primary key:

create table has_pk
(col_1 int primary key)

go

3. Open query Analyzer and right click on the no_pk table


using the object
browser.

4. Choose Open from the menu and notice the table opens


as "read-only"


Cordialement

Fabian


"Michel" wrote in


message
news:12f301c51037$d4821df0$
Bonjour

Je crée une table.

Avec le même profil, je peux modifier son contenu
(création, mise à jour) avec Enterprise Manager, mais avec
Query Analyser, cette table est en "read only".

Que faut il faire ?

Merci d'avance

Michel


.