Viewing 15 posts - 13,606 through 13,620 (of 14,953 total)
My suggestion is probably more work than it's worth, but here you go:
Set up a virtual machine with XP SP 2, and install BOL on there.
The other option I can...
May 20, 2008 at 3:00 pm
If you don't have a Numbers table, now's a good time to build one (it's easy). It will help with this problem.
This is a standard "string parsing" problem. ...
May 20, 2008 at 2:56 pm
Steve Jones - Editor (5/20/2008)
If...
May 20, 2008 at 2:42 pm
mtassin (5/20/2008)
Lynn Pettis (5/20/2008)
May 20, 2008 at 2:18 pm
I've only used two versions of SQL Server (2000 and 2005), but it does seem to keep getting better. And as I keep learning more, I find it easier...
May 20, 2008 at 2:08 pm
lfmn (5/20/2008)
GSquared (5/20/2008)
declare @String varchar(max)
select @string = coalesce(@string + ',' + cast(ModuleID as varchar(10)),
...
May 20, 2008 at 2:00 pm
I think your foreign key may be backwards.
It looks like your UserGroups table has an FK to your UserGroupsOrgs table. Does it? If so, that will block the...
May 20, 2008 at 1:58 pm
I could be wrong, but I think that'll have to be dynamic SQL. Build the select command as a string and execute it.
May 20, 2008 at 1:55 pm
Numeric(3,2) is any number between -9.99 and 9.99, with up to 2 digits after the decimal place. Not sure what that maps to in C#, but it's a pretty...
May 20, 2008 at 1:53 pm
ybol, all things considered, you might want to submit this one to thedailywtf.com. It seems like a valid candidate to me.
May 20, 2008 at 1:24 pm
Matt Miller (5/20/2008)
GilaMonster (5/20/2008)
GSquared (5/20/2008)
May 20, 2008 at 1:20 pm
GilaMonster (5/20/2008)
GSquared (5/20/2008)
May 20, 2008 at 1:18 pm
GilaMonster (5/20/2008)
Personally, I'm thinking that an instead of trigger might be a better idea, as it allows the insert to not actually be run, removing the...
May 20, 2008 at 12:42 pm
As an aside, I'd not use Varchar(1) for this. Sure, it works for single-digit numbers, but it won't work for anything bigger. And, if you know before-hand that...
May 20, 2008 at 12:38 pm
If you build the string this way, you don't even have to remove a final comma.
declare @String varchar(max)
select @string = coalesce(@string + ',' + cast(ModuleID as varchar(10)),
...
May 20, 2008 at 12:34 pm
Viewing 15 posts - 13,606 through 13,620 (of 14,953 total)