Viewing 15 posts - 7,336 through 7,350 (of 14,953 total)
The best way to handle that, if you really have no say over the table structure, would be to query the sys.columns table, using the object_id of the table you're...
December 23, 2009 at 7:51 am
I dug into this a bit more, and there's a flaw in the structure based on the logic.
It allows someone to pick donation ID 3 if they want America but...
December 23, 2009 at 7:40 am
There are detailed instructions online at MSDN.com for setting this up, and the pros and cons of doing so.
In my own experience, it was a major pain and other solutions...
December 22, 2009 at 12:46 pm
If you turn on logging successful/failed logins, it will go in the log. Same one you get under the Management tab in SSMS. It's off by default because...
December 22, 2009 at 12:32 pm
If you're inserting into a remote server, the DTC will kill the batch if it can't commit the transaction. That overrides Try...Catch functionality, per Books Online. I didn't...
December 22, 2009 at 12:25 pm
michael.wiles (12/22/2009)
December 22, 2009 at 11:43 am
Change it to rows, not collumns, as already suggested. It'll get nasty over time if you don't.
December 22, 2009 at 11:07 am
CirquedeSQLeil (12/22/2009)
Jedak (12/22/2009)
CirquedeSQLeil (12/22/2009)
GSquared (12/22/2009)
Jedak (12/22/2009)
Toreador (12/22/2009)
...That would make him partially evil. Similar to Phil the Prince of Insufficient Light/Ruler of Heck.
How would that intro go?
Behold the Powerful semi,...
December 22, 2009 at 11:01 am
GilaMonster (12/22/2009)
GSquared (12/22/2009)
Great picture, Gail. Is that an original artwork, or something you put together from other works?
Original, mostly. It's 3d graphics. Some of the models were purchased or...
December 22, 2009 at 10:59 am
Lynn Pettis (12/22/2009)
(Okay, two...
December 22, 2009 at 10:58 am
You could put the parts that might fail in a Try block, put error handling in the corresponding Catch block, and put the insert after that, probably in another Try...
December 22, 2009 at 10:57 am
Jedak (12/22/2009)
Toreador (12/22/2009)
It might be easy if you're American. Who's Frosty...
December 22, 2009 at 10:09 am
Relational tables don't have a first row or last row. The clustered index may, if there is one, but the table itself doesn't.
Why do you need to insert a...
December 22, 2009 at 10:03 am
Kit G (12/22/2009)
Guess that should be updated to a Happy Friday as that's the day Christmas falls on this year. 😛
Chanuka and Ramadan aren't date-coincident with Christmas, so the day...
December 22, 2009 at 10:01 am
I'm going to go with, "this is a job title they came up with on their own". You'll have to ask them what level of expertise they are looking...
December 22, 2009 at 10:00 am
Viewing 15 posts - 7,336 through 7,350 (of 14,953 total)