IT Community - Software Programming, Web Development and Technical Support

String Operations using different databases

This is a discussion on String Operations using different databases within the Database Support forums, part of the Web Development category; String Operations using different databases 1. Microsoft SQL Server SELECT CHARINDEX('eat', 'great') 2. MySQL [retrieving the date but not ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Database Support

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-05-2007, 03:27 AM
srikumar_l srikumar_l is offline
D-Web Sr.Programmer
 
Join Date: Aug 2007
Posts: 196
srikumar_l is on a distinguished road
Default String Operations using different databases

String Operations using different databases


1. Microsoft SQL Server

SELECT CHARINDEX('eat', 'great')


2. MySQL [retrieving the date but not time]

SELECT POSITION('eat' IN 'great');

3. Oracle

SELECT INSTR('Great','eat') FROM dual;


4. PostgreSQL

SELECT POSITION('eat' IN 'great');
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Operations in different databases srikumar_l Database Support 3 12-04-2007 07:59 AM
Calculations and other Operations on Field Values Pvinothkumar HTML, CSS and Javascript Coding Techniques 28 10-19-2007 05:36 AM
How to Perform SQL Server Row-by-Row Operations Without Cursors? oxygen Database Support 1 07-30-2007 01:22 AM
.NET support oneway web service operations? devarajan.v XML and SOAP 1 07-26-2007 04:46 AM
Explain Floating point operations in MIDP 1.0? itbarota Mobile Software Development 1 07-25-2007 04:09 AM


All times are GMT -7. The time now is 03:28 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0