Solved

SQL String function equivalent for Mid$

Posted on 2003-10-28
2
1,368 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how the fundamental information of how to create a table.

744 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

14 Experts available now in Live!

Get 1:1 Help Now