Say I have a table with 2 columns, ID and DEPARTMENT.
ID DEPARTMENT
1 A
1 B
1 C
1 D
2 B
2 D
3 B
3 D
3 E
4 NULL
I need a select that will give me the ID's who do not have a corresponding DEPARTMENT A...
I have 2 queries (queries 1 and 2 below) and I want only the rows that are common to each. Then I want to exclude from that result the rows I get from queries 3 and 4.
Query #1:
select distinct(a.id_num)
from v_aldr a,v_gift g
where a.id_num = g.id_num
AND (a.org_typ_1_cod = '1') and...
Here is my question:
I have s eimple table called giving_by_date which contains 3 columns ID, Amount and Date.
I need a SQL statement to get the 3 latest amounts for each ID number in the following table.
ID Amount Date
1 10 20051001
1 15 20050223
1...
...is what is messing me up, if it was '=' instead of IN it would be much easier.
---------------------------------------------------------
SELECT *
FROM Content
INNER JOIN Links
ON Content .ContentID = Links.ContentID
WHERE Content.ContentType IN (
Select value from...
I was wondering if anyone has done anything similar to this or knows how to do it.
What I want to do is create a link or button on a web form that when pressed opens up a word template and populates it with values from the web form.
I'm thinking I can use javascript to do this?
Any ideas...
I was wondering if anyone has done anything similar to this or knows how to do it.
What I want to do is create a link or button on a web form that when pressed opens up a word template and populates it with values from the web form.
I'm thinking I can use javascript to do this?
Any ideas...
I am looking at something someone else wrote, so bear with me. Basically it is an Outlook calendar app. There is a pulldown menu with 2 links on it. The problem is that when I click on them nothing happens.
I go into the Outlook toolbar, right click Customize and can see the macros i want...
I am looking at something someone else wrote, so bear with me. Basically it is an Outlook calendar app. There is a pulldown menu with 2 links on it. The problem is that when I click on them nothing happens.
I go into the Outlook toolbar, right click Customize and can see the macros i want...
...SYSDB_new.mdb", _
LinkToSource:=True, _
Connection:="QUERY Cover Letter Query", _
SQLStatement:="SELECT * FROM [Cover Letter Query]", _
SubType:=wdMergeSubTypeWord2000
' Execute the mail merge...
I am trying to check if a folder exists, if it doesn't I want to create it. This works no problem. The seocnd part is that I want to move a file from one folder to another but I keep getting a Run Time Error '5' Invalid procedure call or argument. It must be something stupid I am not seeing...
I am trying to check if a folder exists, if it doesn't I want to create it. This works no problem. The seocnd part is that I want to move a file from one folder to another but I keep getting a Run Time Error '5' Invalid procedure call or argument. It must be something stupid I am not seeing...
Does ayone know how to write a script which detects the status of an FTP server and then indicates on a web page whether the server is up or down.
Any help would be appreciated.
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.