Forum: MS SQL May 22nd, 2007 |
| Replies: 5 Views: 834 |
Forum: MS SQL May 21st, 2007 |
| Replies: 5 Views: 834 |
Forum: ColdFusion May 14th, 2007 |
| Replies: 7 Views: 2,864 |
Forum: MySQL May 13th, 2007 |
| Replies: 5 Views: 1,302 Re: Any help would be appreciated I think you may posted this question in the wrong forum. Its under MySql db, but it looks like you're using Oracle. Unfortunately, I'm not and don't know Oracle syntax :( |
Forum: MS SQL May 13th, 2007 |
| Replies: 1 Views: 2,608 Re: update two rows in one query Yes, you need to separate them. The syntax should be more like
UPDATE SomeTable
SET Column1 = SomeValue1,
Column2 = SomeValue2,
Column3 = ....
It doesn't look like you need a... |
Forum: MySQL May 13th, 2007 |
| Replies: 5 Views: 1,302 Re: Any help would be appreciated That's almost right! It looks like you're using sql server syntax. MySql's DateDiff() function works a little differently.
So it doesn't require the interval ("dd" - for days). Try... |
Forum: MySQL May 13th, 2007 |
| Replies: 5 Views: 1,302 |
Forum: MS SQL May 12th, 2007 |
| Replies: 2 Views: 1,201 Re: Query Total Asset As Midimagic said, you need to sum the previous month(s) too. One way to do this is using a join
SELECT curr.AssetYear, curr.AssetMonth,
SUM(curr.Total + ISNULL(prev.Total, 0)) AS... |
Forum: MS SQL May 12th, 2007 |
| Replies: 2 Views: 775 Re: delete data, then shift its number.... --- delete selected question
delete from Questions
where SurveyID = 140
and QuestionNum = 3
--- decrease subsequent numbers
update Questions
set QuestionNum = QuestionNum... |
Forum: MySQL May 12th, 2007 |
| Replies: 1 Views: 1,293 |
Forum: MySQL May 12th, 2007 |
| Replies: 3 Views: 818 |
Forum: MySQL May 12th, 2007 |
| Replies: 3 Views: 818 Re: Sql Joins SELECT DISTINCT teacher.teachername, student.studentname, results.grade
FROM teacher LEFT JOIN
(
student INNER JOIN results
ON student.studentname = results.studentname
... |
Forum: ColdFusion May 3rd, 2007 |
| Replies: 7 Views: 2,864 |
Forum: ColdFusion May 2nd, 2007 |
| Replies: 7 Views: 2,864 |
Forum: ColdFusion Apr 28th, 2007 |
| Replies: 7 Views: 2,864 |
Forum: ColdFusion Apr 27th, 2007 |
| Replies: 5 Views: 14,386 Re: Airline Reservation System Start by defining what kind of reservation system you want to write and what capabilities the system must have. For example
1. Goal is to design a Hotel Room Reservation System
2. The system must... |
Forum: ColdFusion Apr 26th, 2007 |
| Replies: 2 Views: 2,882 |
Forum: ColdFusion Apr 16th, 2007 |
| Replies: 17 Views: 5,291 Re: MS Access Error - sometimes Try adding a captcha image to the form submission. They're not fool-proof but they help minimize spam.
http://lyla.maestropublishing.com/ |
Forum: ColdFusion Apr 16th, 2007 |
| Replies: 17 Views: 5,291 |
Forum: ColdFusion Apr 12th, 2007 |
| Replies: 17 Views: 5,291 Re: MS Access Error - sometimes I understood what you meant :) That sounds like a good plan. Once you have identified the problematic values you can determine whether the cfinsert can be fixed or if you need to convert it to a... |
Forum: ColdFusion Apr 11th, 2007 |
| Replies: 17 Views: 5,291 Re: MS Access Error - sometimes Unfortunately, I've never heard of that error occuring except with memo fields.
I don't know. I have full debugging turned on and I can't see the sql statement sent to the database. Do you check... |
Forum: ColdFusion Apr 11th, 2007 |
| Replies: 17 Views: 5,291 Re: MS Access Error - sometimes Strangely the same values work with a regular insert.
<cfquery name="InsertRow" datasource="AccessUnicodeDSN">
INSERT INTO Table1 (Name, Notes)
VALUES
(
<cfqueryparam... |
Forum: ColdFusion Apr 11th, 2007 |
| Replies: 17 Views: 5,291 Re: MS Access Error - sometimes Do you have any memo fields? I was able to reproduce the error using a simple table with a memo field like below. I don't remember the limits for the unicode driver.
Table1
ID Autonumber
Name... |
Forum: ColdFusion Apr 11th, 2007 |
| Replies: 17 Views: 5,291 |
Forum: ColdFusion Apr 11th, 2007 |
| Replies: 17 Views: 5,291 Re: lafalot I understand. The problem with cfinsert is that when it works, it works well.. but when it doesn't work its a lot tougher to debug. I use regular inserts with optional fields all the time. I prefer... |
Forum: ColdFusion Apr 11th, 2007 |
| Replies: 17 Views: 5,291 Re: MS Access Error - sometimes I don't know what version you're using but you might look at http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18952
You might also consider converting the cfinsert to a regular insert... |
Forum: ColdFusion Apr 10th, 2007 |
| Replies: 2 Views: 2,567 |
Forum: ColdFusion Mar 30th, 2007 |
| Replies: 3 Views: 4,240 |