Advertisement

1 - 10 of 37 containing alltags:("patindex") (0 seconds)
hi, can you help to convert the following sybase procedure to oracle function? create proc valid_chartime @chartime varchar(8), @fmt int as declare @hh int declare @mm int declare @ss int de...
Zones: OracleDate Answered: 04/29/2002 Grade: A Views: 0
SELECT     substring(dbo.UserQuizzes.UserID, patindex('%[^0-9]%', dbo.UserQuizzes.UserID), The above code works ok if all records in the search find the characters being 'patindex'ed, but on...
Zones: MS SQL ServerDate Answered: 05/29/2002 Grade: A Views: 4
Hi, I have a SQL statement "Create View" in MS SQL Server as below, now I want to create Queries in MS Access that have results as the same "Create View" statement. I'm beginner MS Access, it's di...
Zones: MS AccessDate Answered: 12/24/2003 Grade: B Views: 0
Hi, Please see this query: select track_id,track_name  from track_master where patindex('%'+rtrim(ltrim(str(track_id)))+'%', '36,37') <> 0 This query returns me the following results trac...
Zones: DatabasesDate Answered: 09/28/2004 Grade: A Views: 0
Dear Experts, I have the following string: CO_DD_MM_YY_HI Fields CO, DD, MM, YY, HI represent numbers with leading 0's removed.. e.g. 1_12_93_2_8 ,       33_4_45_35_2 What I need to do, i...
Zones: MS SQL ServerDate Answered: 11/26/2004 Grade: A Views: 0
I currently have 2 UDFs I created to break a name from the following format into each part: Kendall Jr, Joe D It works fine except for instances where the Middle Name is present not just a Mi...
Zones: MS SQL ServerDate Answered: 09/19/2006 Grade: A Views: 0
here's my msgID value:  AAAA061206003028314^74842238^QQQQ the format of the msgID string is this:   AAAA - endpoint   061206 - DDMMYY   003028314^74842238^QQQQ - ordernumber i'm using this...
Zones: MS SQL ServerDate Answered: 06/27/2006 Grade: A Views: 5
I need to retrieve the date from a varchar/memo field, it could be formatted either mm/dd/yy or mm/dd/yyyy. I’d like to use PATINDEX as part of a function but unable to get the “pattern” correct fo...
Zones: MS SQL ServerDate Answered: 01/26/2007 Grade: A Views: 0
I don't understand what the > 10 is doing.       SET @Location = PATINDEX('%ProductID=%',@ProductDescription)+10 -- Sets starting position to the start of the ProductID number after the = sign       WHIL...
Zones: MS SQL ServerDate Answered: 02/08/2007 Grade: A Views: 0
-- I need to correct the "domain" substring of my email field.  So the following query: SELECT mailname=SUBSTR(email,1,PATINDEX('%@%',email)-1 ),        at=SUBSTR(email,PATINDEX('%@%',email),...
Zones: SybaseDate Answered: 08/13/2000 Grade: B Views: 0