Angel Soto
dreamensys@gmail.com
ansoto.com
select * from tu_tabla
where tu_campo = tu_valor
CREATE TABLE Clientes(
Nombre VARCHAR (20),
Apellido VARCHAR (20),
FechaNacimiento DATETIME
);
CREATE PROCEDURE tuProcedimiento
@param1 nvarchar(30) = NULL,
@param2 nvarchar(60) = NULL
AS
select * from tu_tabla
where tu_campo = @param1
GO
exec tuProcedimiento 'valor1','valor2'
CREATE VIEW tuVista
AS
SELECT * FROM tu_tabla;
SELECT * FROM tuVista;
CREATE FUNCTION tuFuncion(@param1 VARCHAR(250))
RETURNS VARCHAR(250)
AS BEGIN
DECLARE @var1 VARCHAR(250)
SET @var1 = @param1
SET @var1 = REPLACE(@var1 , 'www.', '')
SET @var1 = REPLACE(@var1 , '.com', '')
RETURN @var1
END
SELECT * FROM tuFuncion('hola')
ALTER LOGIN sa ENABLE ;
GO
ALTER LOGIN sa WITH PASSWORD = 'tucontraseña' ;
GO
|
---|
DataSet
DataTable
DataTable
DataTable
DataRow
DataColumn
DataSource