Viewing 15 posts - 646 through 660 (of 938 total)
It's because of your JOIN. Look at the data you're inserting in the CarCol tables:
ID CarID Colour
1 1 Red
1 1 Blue
1 1 Green
This means that the only thing...
May 30, 2006 at 8:24 am
Agreed with Marshall.
A good general guideline is the 80/20 rule for SP's; i.e., count on 20% of your code/queries to be used 80% of the time. Converting that 20% of your...
May 30, 2006 at 8:04 am
OK that narrows it down a bit, since StockableItems and NonstockableItems are completely different things (i.e., Products and Services), I don't have a problem storing them in separate tables as...
May 29, 2006 at 1:55 pm
What is a stockable item and what is a nonstockable item? How about some concrete examples of what these items actually are?
May 27, 2006 at 3:15 pm
My major concerns right up front would be: 1) Potential SQL injection issues and 2) Performance. Not to mention just potential problems in general.
Sounds like someone over there wants to...
May 26, 2006 at 8:06 am
Yeah, he didn't really spell it out, and I assumed that he's trying to make some sort of inventory tables... but if he's modeling completely different types of items then...
May 24, 2006 at 7:36 pm
As I said, the OP didn't make a lot of things really clear.
-If "XYZ Cell Phone Battery" is a stockable item and "WXY Cell Phone Battery" is a nonstockable...
May 24, 2006 at 7:05 pm
I disagree with this statement:
"The reason you wouldn't want to store stockableID and nonstockableID in the items table is that logically an item is only one or the other. To...
May 24, 2006 at 3:21 pm
Database normalization basically involves removing repetitive data, eliminating some "data anomalies" and creating relationships between your tables. Here's a short article with links to other articles: http://databases.about.com/od/specificproducts/a/normalization.htm
Most of the time...
May 24, 2006 at 9:48 am
Hmmm... Can you give more details about exactly what you're trying to do? Like where do you want this function to exist? Are you using SQL 2K or 2K5? What...
May 24, 2006 at 9:37 am
Unfortunately the only use of EXEC allowed in UDF's is to call an extended stored procedure (XP). This limitation is imposed because of determinism. UDF's ideally should be deterministic; SP's...
May 23, 2006 at 1:01 pm
Functions have a lot of limitations on them that will make this hard to do. Without knowing more details about what you're doing, how about using a Stored Procedure instead. ...
May 23, 2006 at 12:28 pm
Actually it's a fairly simple backup process, but unfortunately the backup process tends to assume that you have control of your own SQL Server... which we all know is not...
May 21, 2006 at 1:45 pm
tsSchema just defines the xml namespace. It shouldn't have to be on your local computer.
Do you have the line <diacritics_sensitive>0</diacritics_sensitive> in your thesaurus? Try <diacritics = false/> instead and let...
May 21, 2006 at 10:11 am
POS System for mobile ... phones?
I would think that stockable would be a column in your Inventory table (ItemTable?). The stockable flag could be 'Y' for yes or 'N' for...
May 21, 2006 at 10:06 am
Viewing 15 posts - 646 through 660 (of 938 total)