You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
358 B
MySQL
19 lines
358 B
MySQL
3 years ago
|
SET ANSI_NULLS ON
|
||
|
GO
|
||
|
|
||
|
SET QUOTED_IDENTIFIER ON
|
||
|
GO
|
||
|
|
||
|
create function [dbo].[F_factoryno](@Contractno varchar(50))
|
||
|
returns nvarchar(100)
|
||
|
as
|
||
|
begin
|
||
|
declare @S nvarchar(100)
|
||
|
select @S=isnull(@S,'')+factoryno+' ' from import_cargo where Contractno=@Contractno
|
||
|
return @S
|
||
|
end
|
||
|
|
||
|
GO
|
||
|
|
||
|
|