Viewing 15 posts - 106 through 120 (of 152 total)
Can you give a small sample query? I would like to see both the text that would/should be passed to the DB2 machine, and the actual statement executed at...
October 16, 2003 at 1:08 pm
No, I am afraid not. The Stack space is not one of the configurable options.
In any case, if this is a huge IN statement (for example), then using an...
September 26, 2003 at 3:27 pm
This looks like an error documented by MS in mixed NT/2000 domains. See:
Also look at this:
September 25, 2003 at 5:51 pm
When using nested cursors, you end up being dependent on when you read your cursor in the loop. For example:
declare c_1 CURSOR FOR
SELECT Field1 From...
September 25, 2003 at 5:14 pm
Your WHERE clause comes after all of the JOIN clauses:
UPDATE master
SET Port_Desc = SPEED.Port_Desc
FROM Port_Type SPEED
LEFT OUTER JOIN ACCESS ACCESS on
ACCESS.Post_CD ...
September 24, 2003 at 1:35 pm
quote:
quote:
Actually got it right without knowing, just by reading the error message. CoCreate...
September 24, 2003 at 1:30 pm
I am afraid that your insert statement is, in the technical tems used where I work, 'hosed'
'Insert Into TraceObjects Select '...
September 23, 2003 at 3:41 pm
I like concise questions, but that was ridiculous. No wonder it was a three-point question
Actually got it right without knowing, just by reading the error...
September 23, 2003 at 3:32 pm
There are a few ways to accomplish this. First, if what you want is a custom error, then you can use sp_addmessage, and RAISERROR to do this. For...
August 26, 2003 at 2:54 pm
This sounds related to something that happened when we upgraded, where comarisons of numeric and varchar data do not always succeed -- probably because, instead of converting the numeric value...
August 13, 2003 at 10:51 am
If I am reading this query correctly, you need to remove the reference to the v_site table in the subqueries, instead using the value from the v_site table in the...
August 13, 2003 at 10:42 am
Yes, you can back up non-locally, as long as the SQL Server login can see the data space. Your command would be something like:
BACKUP DATABASE MyDB TO DISK =...
August 13, 2003 at 9:09 am
Does TableA in the real data have an ID value? If so, try this:
DELETE tableA
WHERE tableA.ID IN
(Select Distinct TableA.ID
FROM TableA
INNER JOIN tableB
ON tableA.par1 = tableB.par1
AND...
August 13, 2003 at 9:04 am
Well, you could modify your code to create a query to return the data like that:
CREATE PROCEDURE usp_count_grades_KS1
@ui_category varchar(30)
AS
DECLARE year_cursor CURSOR
FOR SELECT distinct(DataInYear)
from akay.KS1
group by DataInYear
order by DataInYear
DECLARE @year varchar(4)
Declare...
August 13, 2003 at 9:00 am
There is no direct equivalent in SQL Server. However, in SQL Server 2000, you can create a UDF to emulate this function.
However, there is an easier way to do...
August 13, 2003 at 8:47 am
Viewing 15 posts - 106 through 120 (of 152 total)