Ask a Question related to ASP Database, Design and Development.
-
aaron #1
HELP WITH STATEMENT??
I have a problem, which I do not know if it can be done:
I have a SQL statement, which has:
(USER.first_name = UND.processor)
OK, the problem is that the fieled 'processor' looks like:
lastname, firstname I need to break out the just firstname
in my sql statement.
Please help????
Thanks!!
aaron Guest
-
If Statement???
guys i was wondering if anybody here could help me. I have a page done up with all dynamic text and attributes on it that come from a management... -
Use of FOR statement
I am reading through a book on Objects and References and I don't understand this statement: $sum += $_ for split //; I thought a FOR... -
AW: if-else-statement
--On Wednesday, September 03, 2003 11:56 PM +0200 "B. Fongo" <mygrps@fongo.de> wrote: Look at the docs for CGI.pm under pragmas, the -nosticky... -
if statement
I'm trying to write an if statement i have two field, Status and Attendance. "status" value can be active or inactive "Attendance" value is active... -
IIF statement
Assuming the data is being entered via a form, then use the AfterUpdate event of the control that is bound to the signature field. The code you need... -
Ray at #2
Re: HELP WITH STATEMENT??
What kind of database?
Why are you storing multiple pieces of data in one column?
Ray at work
"aaron" <abroadway@ameritrust.com> wrote in message
news:00c601c38129$76bdd360$a401280a@phx.gbl...> I have a problem, which I do not know if it can be done:
>
> I have a SQL statement, which has:
> (USER.first_name = UND.processor)
>
> OK, the problem is that the fieled 'processor' looks like:
> lastname, firstname I need to break out the just firstname
> in my sql statement.
>
> Please help????
>
> Thanks!!
Ray at Guest
-
Chris Hohmann #3
Re: HELP WITH STATEMENT??
"aaron" <abroadway@ameritrust.com> wrote in message
news:00c601c38129$76bdd360$a401280a@phx.gbl...Database? Version? Table Structure?> I have a problem, which I do not know if it can be done:
>
> I have a SQL statement, which has:
> (USER.first_name = UND.processor)
>
> OK, the problem is that the fieled 'processor' looks like:
> lastname, firstname I need to break out the just firstname
> in my sql statement.
>
> Please help????
>
> Thanks!!
Chris Hohmann Guest
-
Ray at #4
Re: HELP WITH STATEMENT??
I don't know anything about Foxpro, so I don't know if these functions
exist, but here is how I would do it in SQL Server (until someone told me
what I was doing wrong and I changed it).
SELECT USER.Whatever,UND.Whatever FROM
USER INNER JOIN UND ON
USER.first_name=RIGHT(UND.processor, LEN(UND.processor) -
CHARINDEX(',', UND.processor) - 1)
I think that's what I mean.
Ray at work
select table1.*, table3.* from
table1 inner join table3 on
table1.Thename = right(table3.Thename, len(table3.thename)- charindex(',',
table3.Thename)-1)
"aaron" <abroadway@ameritrust.com> wrote in message
news:0e7a01c38131$a32d4720$a001280a@phx.gbl...> Hello, thanks for the reply!
>
> I am using FOXPRO, and I was not the one who designed the
> information flow. I know it is bad design, but I have to
> use it anyway. I am just pulling data out?
>
> THanks,> like:> >-----Original Message-----
> >What kind of database?
> >Why are you storing multiple pieces of data in one column?
> >
> >Ray at work
> >
> >"aaron" <abroadway@ameritrust.com> wrote in message
> >news:00c601c38129$76bdd360$a401280a@phx.gbl...> >> I have a problem, which I do not know if it can be done:
> >>
> >> I have a SQL statement, which has:
> >> (USER.first_name = UND.processor)
> >>
> >> OK, the problem is that the fieled 'processor' looks> firstname> >> lastname, firstname I need to break out the just> >> >> in my sql statement.
> >>
> >> Please help????
> >>
> >> Thanks!!
> >
> >.
> >
Ray at Guest



Reply With Quote

