Viewing 15 posts - 241 through 255 (of 595 total)
Just as an explanation, the AS clause allows you to alias a column while the equals operator assign the column's value to the indicated variable. So, in your first...
July 14, 2003 at 11:39 am
You were really close...:
SELECT @val1 = val1 FROM tblTemp1 WHERE rowID = 1
INSERT INTO tblTemp2
(RowGUID, ID1, ID2, val1, CreationDate)
VALUES
(@RowGUID, @ID1, @ID2, @val1,...
July 14, 2003 at 11:38 am
In English, not SQL, what are you trying to accomplish here? Have you taken a look at DATEADD(hour, DateField)? To strip the time portion of a datetime field,...
July 14, 2003 at 11:12 am
It's not an issue with the SQL, it's an issue with the JDBC driver and the TEXT data type. See this link for an explanation:
looks like Java doesn't play...
July 11, 2003 at 3:42 pm
What is the statement? If you don't post either the SQL or the Java code, we won't know what the issue is or where the bug lies. My...
July 11, 2003 at 2:40 pm
I think this forum's a pretty good place to go!
but for syntax type references, Books OnLine, which comes with SQL Server client tools, is the first...
July 11, 2003 at 2:24 pm
Please post the code which is generating the error so we can take a look.
July 11, 2003 at 2:07 pm
No need for any of that. Just change the procedure to accept a NULL ArrivalDateFrom and ArrivalDateTo parameters and then do a where clause:
WHERE b.Arrival_Date...
July 11, 2003 at 1:50 pm
If SAGE is running on SQL Server, and you can see a "date" field, but it looks like character data, try doing:
WHERE DATEADD(day, 0, CONVERT(SMALLDATETIME, MyDateField))...
July 11, 2003 at 8:21 am
sorry, not familiar with mssqlxpress. How does the Edit Design functionality in that app differ from the Query Analyzer interface?
July 11, 2003 at 8:03 am
Can you post the SQL code, or is it proprietary? Have you tried contacting the vendor for support?
July 11, 2003 at 7:57 am
What functionality are you looking for; perhaps if you explain what you're looking for, we could point you in the right direction. Any specific capability you need?
July 11, 2003 at 7:55 am
Anything returned in the Query analyzer is available in the Recordsets collection in ADO. Just issue a call to Recordset.NextRecordset to move to the next set of returned data...
July 10, 2003 at 8:29 am
Viewing 15 posts - 241 through 255 (of 595 total)