Pregunta

Estoy pensando en crear una vista para acelerar las cosas y mi pregunta es: son vistas por sesión / conexión o global

?

Ejemplo:

User Foo issues a query that creates a VIEW X, then user Foo continues to query
against VIEW X.  
Meanwhile, User Bar issues the same query that creates a VIEW X because the creation and the name is hard coded into the function issuing the query.

Ahora, hace el trabajo del usuario y el usuario Foo Bar con la misma vista X o tienen "privado" X VISTA cada uno?

¿Fue útil?

Solución

Son creados en la base de datos y no están vinculados sesión. Si la vista en realidad es el mismo para las diferentes sesiones, sólo puede utilizar crear o sustituir VISTA creo.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top