Viewing 15 posts - 121 through 135 (of 291 total)
You are correct, that is not an error. All you have done is assign a string value to a variable. It is not until you execute the sql contained in...
June 19, 2007 at 2:20 pm
Sorry dude, don't know why your are getting the syntax error. The script should work.
I only get that error when I try to run the script on a MSSS...
June 19, 2007 at 1:58 pm
Well until you post some actual code, I've done all I can do. In my first response to you I posted code which specifically catches duplicate key insert errors using...
June 19, 2007 at 11:13 am
Use a Case statement on the data in gender for the new columns. For example:
select
eno, ename, (
June 19, 2007 at 7:34 am
Are you sure your runing SQL 2005? I tested that entire script on my development copy of SQL 2005 and it runs as expected without errors.
When I change the...
June 19, 2007 at 6:39 am
Jezemin: I hope I didn't insult you, but I just wasn't sure if you were being facetious. I guess I really am feeling my age
June 19, 2007 at 6:31 am
Post the complete SP text and put a comment above the line where you can't seem to catch the error. @@error needs to be captured IMMEDIATELY after the call to...
June 19, 2007 at 6:22 am
Thanks Steve. Even though there is always room for improvement, I thought I'd take the opportunity to let you know I think the site is great! It has been a...
June 18, 2007 at 10:07 am
Your welcome. However I'd like to know if I just did you homework? If I did let me know what grade I got
If...
June 18, 2007 at 8:18 am
Jezemine: Is that a serious question? If it is I think I'm beginning to feel my age. The reason for CAPS in any code use to be to indicate reserved...
June 18, 2007 at 8:10 am
Jeff: I agree, if I had known it was home work I would have tried to give hints rather than the solution. I don't know why it didn't occur to...
June 18, 2007 at 8:03 am
Midan: I beg your pardon, but I don't think my syntax was incorrect, I think your question was lacking in information. My solution of adding to the trigger of the "New_TB"...
June 18, 2007 at 7:52 am
No problem Jason. I started down that path but then thought someone has to have done something similiar and a quick search turned up the script I posted a link...
June 15, 2007 at 2:00 pm
Interesting problem. However you didn't say what the table looks like that you are inserting into, but assuming it has a single integer column the following will do what you...
June 15, 2007 at 11:40 am
You didn't really provide enough information for a complete analysis of the data/situation to be modeled but assuming you need to end up with a grid similiar to what you...
June 15, 2007 at 10:51 am
Viewing 15 posts - 121 through 135 (of 291 total)