Viewing 15 posts - 301 through 315 (of 346 total)
By any chance is there a "working" SQL statement before the @@ERROR is checked -
@@ERROR resets with every SQL statement...
so if there was an error in an SQL statement...
June 4, 2003 at 12:44 pm
Hi,
I think you will have to specify in ADO that NULL be inserted when an empty/blank value is passed...if a blank value is sent across then SQL Server inserts a...
June 4, 2003 at 12:15 pm
I think you can achieve the same functionality using @@ERROR and GOTO...
assuming your trigger consists of an UPDATE statment and you want to GOTO in case of an error :
<UPDATE...
June 4, 2003 at 12:00 pm
your select statement re-written as follows should work :
select 'val = ' + categoryname + ' desc = ' + Convert(Varchar(100),description) from categories where categoryid=1
Since description is of type ntext...
June 4, 2003 at 11:05 am
>>I've done it via QA without problems!
??????....is there any option in QA to turn off warning messages...I always get that warning whenever any table created goes above 8060 bytes...
and regarding...
June 3, 2003 at 3:22 am
Hi Frank,
The table will be created without any problem...
if created using QA then a message saying "The total row size (14061) for table 'KeyResultAreas' exceeds the maximum number of bytes...
June 3, 2003 at 3:05 am
We faced a similar issue where we designed a table that exceeded 8060 bytes...
our design was something like this :
CREATE TABLE [KeyResultAreas] (
[UserID] [int] NOT NULL ,
[AppraisalID] [varchar] (15) NOT...
June 3, 2003 at 2:26 am
w.r.to the text data types in stored procedures - when you use a varchar(8000) local variable and if the length of the text data type exceeds this limit then the...
June 3, 2003 at 1:42 am
I think that kfenstad is looking to list out in a single record the 'large' and 'small' file names associated with a single product_id....
Does the following query resemble what is...
June 2, 2003 at 10:36 am
I think you can query sysobjects on the name of the index to get the creation date...something like :
select [name],crdate from sysobjects where name = 'IndexName'
The link below lists out...
May 30, 2003 at 7:05 pm
If sp_who returns too much data then you could store the results into a temp table and query that temp table to see if anyone is accessing/locking model....there was a...
May 30, 2003 at 4:26 pm
Hi,
This KB article refers to the same error(w.r.to Exchange 2000)
http://support.microsoft.com/default.aspx?scid=KB;en-us;293422&
another KB article that might be useful is
http://support.microsoft.com/default.aspx?scid=KB;en-us;263556&
about the "xp_sendmail : Procedure expects paramater @User" -...
May 23, 2003 at 1:07 pm
Hi,
We had a similar performance problem and ended up adding an identity column to the table so that we could get the "N" number of rows directly from the base...
May 20, 2003 at 2:30 pm
For text,ntext or image columns you will have to use UPDATETEXT...
the following article explains how to use UPDATETEXT
http://www.sqlservercentral.com/columnists/rmarda/handlingthetextdatatype.asp
May 13, 2003 at 7:31 pm
Viewing 15 posts - 301 through 315 (of 346 total)