Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. select *
  2. from MyTable
  3. where CHARINDEX('73', MyString) = 6
  4.  
  5. SUBSTRING ( mycolumn ,6 , 2 )
  6.  
  7. SELECT SUBSTRING(YourColumn,6,2) Result
  8. FROM dbo.YourTable;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement