Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
1| Name | Data Type | Length | Description |
|---|---|---|---|
| @producto | int | 4 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.productos_facturas_
@producto int
AS
BEGIN
SET NOCOUNT ON;
SELECT prod_codigo_factura, descripcion, producto
from productos_facturas
where producto = @producto or producto is null
END
GO
GO
CREATE OR ALTER PROCEDURE dbo.productos_facturas_
@producto int
AS
BEGIN
SET NOCOUNT ON;
SELECT prod_codigo_factura, descripcion, producto
from productos_facturas
where producto = @producto or producto is null
END
GO
Depends On
1Used By
No items found