domingo, 31 de julio de 2011
sábado, 30 de julio de 2011
viernes, 29 de julio de 2011
lunes, 25 de julio de 2011
viernes, 22 de julio de 2011
jueves, 21 de julio de 2011
miércoles, 20 de julio de 2011
martes, 19 de julio de 2011
sábado, 16 de julio de 2011
jueves, 14 de julio de 2011
Subconsultas - Tutorial SQL
Subconsultas - Tutorial SQL: "SELECT CO_CLIENTE, NOMBRE, MARCA, MODDELO
FROM ALQUILERES
WHERE CO_CLIENTE = 1
AND FECHA_ALQUILER = (SELECT MAX(FECHA_ALQUILER)
FROM ALQUILERES
WHERE CO_CLIENTE = 1)"
FROM ALQUILERES
WHERE CO_CLIENTE = 1
AND FECHA_ALQUILER = (SELECT MAX(FECHA_ALQUILER)
FROM ALQUILERES
WHERE CO_CLIENTE = 1)"
domingo, 10 de julio de 2011
sábado, 9 de julio de 2011
viernes, 8 de julio de 2011
jueves, 7 de julio de 2011
Ejemplos de lenguaje sql para Access: CÓDIGO SQL EMBEBIDO
Ejemplos de lenguaje sql para Access: CÓDIGO SQL EMBEBIDO: "Create Table Mensajes
(
Id Counter Primary Key,
Destinatario Text (255),
Titulo Text (255),
Cuerpo Memo
);"
(
Id Counter Primary Key,
Destinatario Text (255),
Titulo Text (255),
Cuerpo Memo
);"
martes, 5 de julio de 2011
Como puedo Obtener la estructura de una Tabla con intrucciones SQL - Foros del Web
Como puedo Obtener la estructura de una Tabla con intrucciones SQL - Foros del Web: "SELECT * FROM information_schema.columns WHERE table_name = 'nombre tabla con comilla simple';"
domingo, 3 de julio de 2011
viernes, 1 de julio de 2011
VB Helper: HowTo: Use validation events in VB .NET
VB Helper: HowTo: Use validation events in VB .NET: "Private Sub txtZip_Validating(ByVal sender As Object, ByVal _
e As System.ComponentModel.CancelEventArgs) Handles _
txtZip.Validating
' See if the text is 5 digits.
If Not (txtZip.Text Like '#####') Then
' The Zip code is invalid.
' Cancel the event moving off of the control.
e.Cancel = True
' Select the offending text.
txtZip.Select(0, txtZip.Text.Length)
' Give the ErrorProvider the error message to
' display.
ErrorProvider1.SetError(txtZip, 'Invalid ZIP code ' & _
'format')
End If
End Sub
' The ZIP code is valid. Clear the error.
Private Sub txtZip_Validated(ByVal sender As Object, ByVal _
e As System.EventArgs) Handles txtZip.Validated
ErrorProvider1.SetError(txtZip, '')
End Sub"
e As System.ComponentModel.CancelEventArgs) Handles _
txtZip.Validating
' See if the text is 5 digits.
If Not (txtZip.Text Like '#####') Then
' The Zip code is invalid.
' Cancel the event moving off of the control.
e.Cancel = True
' Select the offending text.
txtZip.Select(0, txtZip.Text.Length)
' Give the ErrorProvider the error message to
' display.
ErrorProvider1.SetError(txtZip, 'Invalid ZIP code ' & _
'format')
End If
End Sub
' The ZIP code is valid. Clear the error.
Private Sub txtZip_Validated(ByVal sender As Object, ByVal _
e As System.EventArgs) Handles txtZip.Validated
ErrorProvider1.SetError(txtZip, '')
End Sub"
Suscribirse a:
Entradas (Atom)