Login  Register 
Home
 
Applications
 
Consulting
 
Design
 
Business Links
 
Support
 
Contact
  Search
Search
 
 SupportKnowledge BaseMicrosoft SQL Server     May 17, 2012  
Snippets
12

 

PROCEDURE GIBS_SEO_Content nvarchar(50) = null

 

AS

BEGIN

if

(len(@city)=0)

begin

set

@city=null

end

 

SET NOCOUNT ON;

 

 

 

SELECT City, Village , REPLACE (City,' ','-') + '/' + REPLACE (Village,' ','-') AS EncodeVillageFROM Town_to_VillageWHERE (Village = coalesce(@City,'Harwich') )

END

GO

SET

ANSI_NULLS OFF

GO

SET

QUOTED_IDENTIFIER OFF

GO

 

 

@City

CREATE

Post Rating

Comments

There are currently no comments, be the first to post one.

Post Comment

Only registered users may post comments.
 

P.O. BOX 2342 ~ BREWSTER, MA 02631
PHONE & FAX: (508) 714-0678

 
 Copyright 2012 by Global Internet Business Solutions   Terms Of Use  Privacy Statement