Solved

SQL String function equivalent for Mid$

Posted on 2003-10-28
2
1,379 Views
Last Modified: 2012-08-13
What's the equivalent to the Mid string function I always used in Access, for Sql Server?
0
Comment
Question by:Mendy
2 Comments
 
LVL 19

Accepted Solution

by:
Dexstar earned 50 total points
ID: 9638095
Mendy,

> What's the equivalent to the Mid string function I always used in Access, for Sql Server?

It's called SUBSTRING().  It takes 3 parameters, just like Mid().

Hope that helps,
Dex*
0
 

Author Comment

by:Mendy
ID: 9638126
Yes, Dex. Thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now