How can I extract a substring in WHERE Clause <; CFQUERY >;?
Is it possible to extract a substring in the WHERE clause of either < CFQUERY > or in a query of queries? I try to use the following query to find all e-mail addresses with the domain "comcast.net" (i.e., everything that follows the '@' in the email address). I ask an MS-Access database table.
< cfquery name='test' datasource='membership'>
SELECT Email_address
OF tblMembers
WHERE the MID (email_address, INSTR (email_address, ' @') + 1) = "comcast.net"
< / cfquery >
If I try this as a query, I get the error message "[Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] data type incompatible in criteria expression."
If I try it as a t/t, I get the error message " " Met 'MID (e-mail1.,. Incorrect conditional expression, waiting for one of [as | null | between | in | comparison] condition,'.
I would be very grateful for any help on finding something that works! Thanks for your help!
You couldn't do a LIKE in where clause instead:
SELECT Email_address
OF tblMembers
WHERE email_address LIKE ' %@comcast.net'
You should get the addresses you're looking for.
-Carl V.
Tags: ColdFusion
Similar Questions
-
How can I extract the frequency of the FFT function?
Hi all
How can I extract the frequency of the FFT function in labview? Thanks in advance
Concerning
If you have the f0 and df, you can find your frequency as you would find the time with a waveform based on t0 and dt. You just need the index of the data point in that you want to get the frequency. The frequency is then f0 + x * FD, where x is the index of the data point you are interested in.
-
How can I extract the files of calendar?
Thank you for the review of this post. I appreciate any help you can provide.
I recently bought a new win 7. My tech copied all my old data from the previous machine to a single folder on my new machine.
I have a few Palm data... But it has not imported the TX model will not be installed on my Win 7 machine, so I have to achieve this through Palm Desktop. (I have read that could be caused by the fact that I went to version 6 of the palm software and tried to import).
Quite simply, here's my problem: I just want to really get my calendar information. I'll probably use a program different schedule in the near future.
How can I extract the data from the calendar since raw files? (Calendar.dat, etc.) ???
I have TO import or somehow go through the Palm software, or is it possible outside of Palm?
I THINK that this cannot be something too difficult, but I am so stuck and missing an appointment every day.
I am very grateful for your help.
Don in Tucson
AizA
With the version of the data files you have, you will need to install Palm Desktop 4.1.4e or 4.2. You will need to uninstall Palm Desktop 6.2, if that's what you have installed currently. With the .dat extension files are not compatible with PD 6.2.
Another thing to consider is the Win7 version you have installed. If you have the 64-bit version, you will only be able to sync wireless using bluetooth, infrared, or wi - fi. On your PC, go to the computer icon and right-click. Look at the page and see if it says 64 bit any where. If you have the 32-bit version, you can synchronize via USB cable method, but you must ensure that you have the correct version of installed PD.
In PD .dat files, you will need to go to the folder of user name on the drive of the program and paste the files in the appropriate subfolder. Make sure that the PD is closed. Go to c-program files-palm and find the folder user of PD. Once you find the file, search for the subfolders of this folder for address (this is the contacts folder), calendar (calendar), memos, and tasks. Paste the address.xxx files in the folder of the address, the file datebook.xxx in the folder of the agenda, etc.. Once the files in the respective locations, open PD and see if the data is there. If this is the case, you can then set the synchronization according to your version of Win7, either wireless or USB.
-
When I search something Firefox automatically opens a new tab with the results of this research. How can I change the settings to where the results will appear in the same tab where I made the research?
If you want to open search results in a new window most often is a parameter of the search engine you use.
-
How can I extract images of the application "Photos of Macintosh" in the Lightroom?
How can I extract images of the application "Photos of Macintosh" in the Lightroom?
I know, but it must be on the hard disk, to retrieve an individual photo appears
be a daunting task... Need help...
See you soon
In Photos, select all the photos you want to put in LR; Select "Export" in the file menu and export to a new folder on your hard drive. Finally in Lightroom, import pictures into this new folder.
-
How can I extract individual PDF pages?
How can I extract individual PDF pages?
Hi heidih30527428,
You will need Acrobat free trial download Adobe Acrobat application | Acrobat Pro DC to extract pages from a PDF, see this document KB Split a PDF | Adobe Acrobat DC tutorials.
Is not possible with the free player application.
Kind regards
Nicos -
How can I extract the year of a variable?
Hi all
I want to extract the year of a parameter.
I tried the following, I make mistakes.
When I run the code below,
SELECT TO_CHAR(:X_PRM_YR_END_DT,'YYYY') FROM dual;
I got the following error.
ORA-number 01722:invalid
When I run the code below,
SELECT TO_DATE(:X_PRM_YR_END_DT,'YYYY') FROM dual;
SELECT to_char (TO_DATE (: X_PRM_YR_END_DT, "YYYY")) FROM dual;
I got the following error.
ORA-01830: date format end before you convert all of the input string
When I run the code below,
SELECT extract (YEAR FROM: X_PRM_YR_END_DT) FROM dual;
SELECT extract (YEAR FROM 01/11/2013) FROM dual;
I got the following error.
ORA-30076: invalid field extracted from source
How can I extract the year of a variable?
Help me please
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.
Try this,
SELECT TO_CHAR (to_date (' 01/01/1980 ',' dd/mm/yyyy'), 'YYYY') FROM dual;
-
How can I extract some pages from my document and save it as another file?
How can I extract some pages from my document and save it as another file?
You will need Adobe Acrobat to do that, not Adobe Reader.
-
How can I extract an audio file of a PDF in Pro? (Mac)
How can I extract an audio file of a PDF in Pro? (Mac). Properties it is a .m4a file.
Thank you
Hi Tim,.
This is not a supported feature. If the PDF is secured and you have the legal rights to extract the audio, it would be possible to locate and unzip the PDF file raw file data using third-party tools as follows the structure of the file of low-level (a hex editor or editor Cos) - but Acrobat can not help you.
Kind regards
Rave
-
How can I extract a single page in pdf in a larger PDF format?
How can I extract a single page in pdf in a larger PDF format?
Hi extract 1 page,
To retrieve a page of a PDF document, you must use Acrobat. If you do not have Acrobat, you can try it free for 30 days. See www.adobe.com/products/acrobat.html for more information.
Best,
Sara
-
How can I mix two video clips where they join together in a movie?
Hello wonderful movie spirits, decision-making
I'm working with Adobe first 6 on a Windows 7 computer.
How can I mix two video clips where they join together in a movie?
I know how to place two or more video clips together in the same movie, but how can I give them a bit of a mixture of just where they join?
I have a PDF manual and the instructions of the built-in web browser. In the instruction manual to the "Chapter 7: layering and Compositing", he talks about the transparency of a video sequence and I understand that... but I don't want to do one or the other video clip transparent anywhere except where the two video clips are joining with maybe a bit of overlap.
I would like to make a little blur right where the two videos are joining the middle... is it possible?
Thank you
Digi
AHA that kind of mixture.
6.5 have not used in a time loooooooong.
It's so memory, hope I get this right.
Together the two each other clip
Make a hidden in Photoshop and overlay it on the two clips.
Go to the transparency settings and the value of the top 2 video clip touches Alpha.
Screendump to mast:
The right side is black just for the forum, but should be transparent.
-
How to use a function in a Where Clause?
Hello
I have a doubt. If MY_FUNCT is a function that returns a Boolean value, can I use in a where clause clause to write a query like this? :
Select...
table one
where the...
*...*
and MY_FUNC (a.field) = true
*...*
*;*
Thank you!
Published by: Mark1970 on 3.27 lug-2-2010But is it possible that the function does not return a Boolean value?
Yes (as sysdate, substr and instr etc.) you can also use your own function in a where clause clause, as long as it does not return a BOOLEAN value.
I mean how to use a function in a where clause clause?
Your own pseudocode seems a good example for me.
So, just give it a try. -
On my iPad Mini 2, I use a split keyboard, which I like, but the keyboard is in the middle of the document I'm working on. It is very difficult, if not impossible, to see what I'm typing. How can I get the keyboard to the bottom of the page where once stood?
Press and hold the keyboard icon in the lower right corner, then drag your finger to select 'Dock '.
-
I downloaded Windows XP from the Windows Service Center. It's a .exe. When I click on it, it is extracted to a folder I called "xp". How can I obtain these data on a disk to install XP from a CD? Should what steps I take? I am running Windows 7.
original title: Burning a disk XPPutting aside if the 64-bit version of XP is what you need, when you ran the exe, the file that was extracted (i.e., in the folder named "xp") should have been an ISO file.
Files ISO are CD images and are intended to be burned (NOT copied) to a writable CD.
Assuming that you have the correct hardware (CD burner), you can burn your ISO as described here: http://windows.microsoft.com/en-US/windows7/Burn-a-CD-or-DVD-from-an-ISO-file
Note that what you downloaded is NOT "Windows XP Mode" which is available for use with Windows 7 Professional, enterprise or ultimate edition. The image you uploaded is for installation on a separate computer (or in a dual-boot configuration) - assuming you have the required license keys.
-
How can I prevent people from seeing where the email has passed since?
How can I stop showing where email is transmitted from
How can I stop showing where email is transmitted from
Select and then delete the addresses in the e-mail message.
And when you send an email if you do not want your visible list of recipients used the bcc function.
Maybe you are looking for
-
HP paviliion x 2 10-n002nl: microphone does not work on Hp pavilion x 2 10-n002nl
Hello as in the title, I have problems with the microphone, I can't here my voice well when I sign and on Skype. How can I solve this problem? Thanx
-
Hi, I had this card for about a year now use it in my Galaxy S3 (Bell/Canada version) and recently my phone hangs / crashes at start up and forced factory me reset my phone several times. This post is not on my phone, however, it is on my sd card. It
-
XPS15 problem starting Windows 8 L521x
Hi Phillip I want to thank you for the info you have posted here. I have a L521x XPS15 that comes with a 750 GB HARD drive + an SSD of 32 GB for implementing caching. I upgraded to w8 via the simple up grader downloaded from the Microsoft Web site. T
-
It is sayd this working directory of the application is accessible directly with File.desktopDirectory. Path alias File.applicationDirectory (appname) / app/air File.applicationStorageDirectory (appname) / data File.desktopDirectory (appname). File.d
-
New computer internet problems
I have a Toshiba like 3 weeks ago and it worked fine for 3 days but after a refresh it started to run really slow down and give me whit internet problems and it gives me an error window when I tried to open programs such as windows photo viewer and m