Viewing 15 posts - 1 through 15 (of 47 total)
If I understand this right, all you want to do is concatemate the rows into one? If this is the case, leave everything after the SELECT, and recode your SELECT...
May 17, 2005 at 8:30 am
How about something like this instead:
select top 1 *
from [myServer].[myDB].dbo.contact c
inner join [myServer].[myDB].dbo.contact_2 c2
on c.contact = c2.contact
order by c2.contact desc
should give you the same result...
October 20, 2004 at 2:49 pm
Have thought of doing the exact same thing myself, however no longer have the need. My solution was to have a seperate table with details of the stages of the...
October 17, 2004 at 2:45 pm
This will do the trick:
select * from jcjobm where job_stat <> 'A' and date_closed > GETDATE()
October 17, 2004 at 2:40 pm
JET 4.0 is used for OLEDB connections to files such as .csv and .xls files. Hence the JET error.
Are you using a DSN that is only stored on your machine?
Maybe...
September 18, 2004 at 11:43 am
Interesting one this. Do you have any indexes on the 90 column "big" table?
Personally I would have the 12 smaller tables, each with their own indexes.
As for dynamically building...
September 18, 2004 at 11:26 am
Out of curiousity, have a look to see what it says in sysobjects for that particular table.....
September 18, 2004 at 11:11 am
Not if you are inputting directly into QA or EM, only an application would allow this.
September 18, 2004 at 11:07 am
What error are you getting?
September 18, 2004 at 11:00 am
20 fields = 20 variables I am afraid!!!
Have you tried avoiding the use of a cursor by using temp tables instead?
September 18, 2004 at 10:55 am
Try the following:
SELECT Surname
FROM Students
WHERE Surname LIKE 'O%Connor'
or something like this:
--Get ASCII value for character
SELECT ASCII(')
SELECT Surname
FROM Students
WHERE REPLACE(Surname, CHAR(Insert ASCII Value), '') = 'OConnor'
** I havent tested the last...
September 18, 2004 at 10:44 am
Will a function accept a table as input?
September 2, 2004 at 10:05 am
Bit of a stab in the dark - have you checked the disks for any errors?
July 1, 2004 at 5:44 am
Viewing 15 posts - 1 through 15 (of 47 total)