Google Groups Home
Help | Sign in
TimeStamp
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Pablo  
View profile
 More options Jul 6, 4:01 pm
Newsgroups: microsoft.public.es.sqlserver
From: "Pablo" <programac...@clientesbeta.com.ar>
Date: Sun, 6 Jul 2008 17:01:49 -0300
Local: Sun, Jul 6 2008 4:01 pm
Subject: TimeStamp
Hola!

necesito controlar quien de los usuarios (no importa el nombre de usuario)
puede o no modificar un registro y puse un campo timestamp para saber si aun
el registro es mio y nadie mas lo modifico.
la consulta es: me recomiendan usar timestamp o hay otro metodo mejor , tipo
de poner un campo int con algun valor.

saludos


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MVP Gux  
View profile
 More options Jul 7, 11:52 am
Newsgroups: microsoft.public.es.sqlserver
From: Gux (MVP) <Gux...@discussions.microsoft.com>
Date: Mon, 7 Jul 2008 08:52:06 -0700
Local: Mon, Jul 7 2008 11:52 am
Subject: RE: TimeStamp
Lamento no poder entender bien lo que desea hacer, tal vez si lo intenta
explicar de otra manera?

--
Gustavo Larriera, Microsoft MVP
http://www.linkedin.com/in/gustavolarriera
--
Este mensaje se proporciona tal como es, sin garantías de ninguna clase.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pablo  
View profile
 More options Jul 8, 11:49 am
Newsgroups: microsoft.public.es.sqlserver
From: "Pablo" <programac...@clientesbeta.com.ar>
Date: Tue, 8 Jul 2008 12:49:27 -0300
Local: Tues, Jul 8 2008 11:49 am
Subject: Re: TimeStamp
Hola , si, seguramente me exprese mal.

el tema es el siguiente:

        si tengo dos usuarios trabajando en el mismo registro y uno de ellos
lo actualiza, quiero que el segundo usuario no pueda actualizarlo dado que
ya lo hizo el primero.
        vi en algun lado que se usa el campo timestamp para eso, dado que al
actualizar el registro, ese timestamp cambiaria entonces el segundo usuario
a no podria actualizarlo...............basicamente seria una manera de
controlar quien puede o no actualizar cuando hay varios trabajando sobre el
mismo registro, se entiende?

gracias, saludos

"Gux (MVP)" <Gux...@discussions.microsoft.com> escribió en el mensaje
news:4139E523-D3B4-49F5-BD0C-2C33A44821A6@microsoft.com...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MVP Gux  
View profile
 More options Jul 8, 12:16 pm
Newsgroups: microsoft.public.es.sqlserver
From: Gux (MVP) <Gux...@discussions.microsoft.com>
Date: Tue, 8 Jul 2008 09:16:11 -0700
Local: Tues, Jul 8 2008 12:16 pm
Subject: Re: TimeStamp
En SQL Server usted no debe preocuparse en bloquear programáticamente una
fila que está siendo actualizada.

Cuando un proceso está actualizando datos de una fila, otro proceso no puede
acceder hasta que la transacción que actualiza no finalice. Todo eso se hace
automáticamente, despreocúpese del tema.

--
Gustavo Larriera, Microsoft MVP
http://www.linkedin.com/in/gustavolarriera
--
Este mensaje se proporciona tal como es, sin garantías de ninguna clase.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pablo  
View profile
 More options Jul 8, 12:49 pm
Newsgroups: microsoft.public.es.sqlserver
From: "Pablo" <programac...@clientesbeta.com.ar>
Date: Tue, 8 Jul 2008 13:49:48 -0300
Local: Tues, Jul 8 2008 12:49 pm
Subject: Re: TimeStamp
Gracias.
Saludos

"Gux (MVP)" <Gux...@discussions.microsoft.com> escribió en el mensaje
news:A3DD9908-CFC7-412C-BEED-AB0C68578C02@microsoft.com...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google