Viewing 15 posts - 1,471 through 1,485 (of 3,233 total)
Why do you think you need to put common attributes in one table? If I had 2 different entities Person and Building and both entities had an address associated...
April 22, 2009 at 12:39 pm
It doesn't look like a SQL Server problem to me. The SP will do exactly what you tell it to which is return a zero to the calling app...
April 22, 2009 at 12:33 pm
Jack,
Great article. I implemented a similar solution (using Jamie's script to get the error description) but your's is a bit more elegant. I love the idea of...
April 3, 2009 at 8:53 am
Good to see things going in the right direction finally. Man, keeping up with this post has turned into a part-time job!!
March 19, 2009 at 8:30 pm
Kudos on sticking with this one Lynn. You're a better man than I 😀
March 17, 2009 at 11:06 pm
Yep, that'll do.
BTW....eliminating cursors is a great way to save keystrokes!!
March 13, 2009 at 3:33 pm
foxjazz (3/13/2009)
Why can't t-sql accomadate that flavor of language just like the IDL...
March 13, 2009 at 3:21 pm
You don't need a cursor for this. What you want to do can most likely be done with a few lines of code. Post an example of this...
March 13, 2009 at 3:18 pm
As it stands, T-SQL is about the most simple language on the planet. Specifically, what problems are you having that you feel are the languages fault?
March 13, 2009 at 2:10 pm
What you are suggesting will work. You should put a unique index on the Quotes.QuoteNumber column and lose the FK to your QuoteNumber table. They really isn't a...
March 13, 2009 at 10:51 am
Why not just put an IDENTITY column in your Quotes table?
March 13, 2009 at 10:13 am
Your CAST statement does not put the date into the format requested by the OP.
March 2, 2009 at 9:12 am
Alternately, you could generate a schema script and just re-create a blank DB. If this is something you have to do often, you could even take a backup of...
February 16, 2009 at 2:41 pm
Vinod,
Why don't you make an attempt to write the query using the guidence that GSquared has given you?
If you still need help, post your work and we can help...
February 12, 2009 at 4:39 pm
Two things. First off, the syntax you've proposed will not work. You cannot pass a DML statement as a parameter to a stored procedure. Secondly, you don't...
February 12, 2009 at 4:32 pm
Viewing 15 posts - 1,471 through 1,485 (of 3,233 total)