Viewing 15 posts - 31 through 45 (of 49 total)
I guess the app is bombing out because the data type conversion error has severity level 16.
If it's possible for a value greater than smallint can hold to be passed...
November 25, 2003 at 10:26 am
I think all you can really do here is check @@error to see if it is non-zero after the procedure call and then use the value of @@error to interrogate...
November 25, 2003 at 9:57 am
Thanks for the additional info. First off, you will need to select any columns in the order by clause in each UNION select statement. It's important that you...
November 25, 2003 at 9:36 am
The XML you provide shows data in a relational structure. You say all of the data is stored in a single table. How does the relational data map...
November 25, 2003 at 9:06 am
How is the data structure shown in your XML example represented in the trms_units table? A bit more info about the data might help.
November 25, 2003 at 8:27 am
It's true that this question can be answered with a small amount of research - I did the same thing. However, the point of the question isn't always knowing...
November 25, 2003 at 7:55 am
Could you move the work of the select statement to a stored procedure and include the update stuff there, thus keeping the work that needs to be done together, then...
November 25, 2003 at 1:58 am
Doh! Of course - why do it your own long-winded way when there is a T-SQL function?!
November 21, 2003 at 4:01 am
No worries! If you can't solve your other problem, it may be worth posting a code snippet to see if anyone can help.
November 21, 2003 at 2:27 am
You're absolutely right! It was only when I re-read the question that I realised I had completely (and blindly!) assumed the middle part of that. Maybe I'm just...
November 21, 2003 at 2:12 am
Well, I answered the question correctly but reading these posts am kind of embarrassed not to have thought more about it and got it wrong instead ...
November 21, 2003 at 2:06 am
But I guess re-reading the wording of the question, it's a matter of interpretation
November 21, 2003 at 2:02 am
It doesn't say create a PK clustered index. It says drop the PK clustered index and create a clustered index on the LAST_ORDER_DATE column. There's no mention ...
November 21, 2003 at 1:56 am
If what you need is to check only the final character to see if it's numeric, you could do something like this:
if (right(@var_or_column_here, 1) like '[0...
November 21, 2003 at 1:42 am
Afraid for the moment I've exhausted my ideas - indexed views are definitely not my are of expertise, but I'll let you know if I have a flash of inspiration....
November 20, 2003 at 10:02 am
Viewing 15 posts - 31 through 45 (of 49 total)