Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Create a View

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-04-19 : 10:25:02
john writes "Hi and thank you
I would like to create a
View to include a new field that I call http. This field is defined as 'http://' + url the url are stored in another table in this format:'www.url.com'. I am try create this view that will be http://www.url.com
can you help me with this
thank you
John"

Srinika
Master Smack Fu Yak Hacker

1378 Posts

Posted - 2006-04-19 : 10:29:46
Make the following in ur Create Query's Select Statement with appropriate table / field names

Select 'http://' + URLField from urTbl

Srinika
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-04-19 : 10:32:56
Also you can append that in your front end application(if you use) for display

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -