Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 16th, 2007, 07:25 AM
Authorized User
 
Join Date: May 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MathLearner
Default Trim

hi
    In VB 6 we are using Trim for access.. For SQL Server 2000
what is the coresponding function
              pls help... its Urgent...:(

 
Old May 16th, 2007, 08:03 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

doing a little google with this: "trim sql server 2000"

yelds:

http://sqlserver2000.databases.aspfa...ql-server.html

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old May 16th, 2007, 11:38 PM
Authorized User
 
Join Date: May 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MathLearner
Default

HI Gonzalo Bianchi sir
               I get the ans from ur link..
                     ans as follows...
TRIM(data)
This function combines both LTRIM() and LTRIM(); there is no equivalent in SQL Server. To mimic the functionality, you would combine the two functions:

-- Access:
SELECT TRIM(column)
SELECT LTRIM(RTRIM(column))

-- SQL Server:
SELECT LTRIM(RTRIM(column))

                     Thank u for ur Contribution Sir..
Pls continue ur good work..








Similar Threads
Thread Thread Starter Forum Replies Last Post
trim with ListFolderContents melkin Classic ASP Components 1 September 12th, 2008 03:03 PM
How can i trim space using XSLT? Mitali XSLT 5 July 25th, 2008 03:15 PM
How to trim strings ajit Javascript 4 June 20th, 2006 10:30 AM
String.trim() mrfox BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 January 8th, 2006 12:23 AM
Trim() NeoGeo ASP.NET 1.0 and 1.1 Basics 2 January 21st, 2004 11:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.