Viewing 15 posts - 9,676 through 9,690 (of 15,381 total)
Creating views sounds like a better approach. If you have data that is related to the customer but is not as important then splitting to an extension type table is...
January 8, 2013 at 8:09 am
Just shoot me!!! That is a nightmare!!!
There are a couple options as I see it. Either normalize that table into something that makes sense or suffer horrible performance.
January 8, 2013 at 8:02 am
Since you are using a correlated subquery why bother with any of those approaches?
This returns the same thing.
select *
from seats s
join seats2 s2 on s.ID = s2.id2
And FWIW, you...
January 8, 2013 at 7:57 am
asranantha (1/8/2013)
hi why here we use XML PATH('')),1,0,''plese tell me some explnation to use of xml path
BOL has the answer to this and MANY MANY more questions.
January 8, 2013 at 7:47 am
Sounds like you need to get a better understanding of how to generate catch all queries which is what it sounds like you are running here. Take a look at...
January 8, 2013 at 7:45 am
PiMané (1/8/2013)
Is it best to have a table with 400 columns or if the application has several screens to update/insert the information should the table "reflect" those screens?
For example a...
January 8, 2013 at 7:42 am
gchappell (1/8/2013)
January 8, 2013 at 7:31 am
Good question Tom. Good to have a refresher on these things from time to time.
January 8, 2013 at 7:20 am
jasona.work (1/7/2013)
Stefan Krzywicki (1/7/2013)
Brandie Tarvin (1/7/2013)
jasona.work (1/7/2013)
SQLRNNR (1/7/2013)
Brandie Tarvin (1/7/2013)
Windows 8 Pro is on sale for $40.00 (U.S.) through the end of the month. It's a download.:sick:
It's not that bad...
I've...
January 7, 2013 at 1:26 pm
Thanks for posting ddl and desired output. The following mostly works for you example but it includes Rating3 which in your sample output it was missing.
select stuname,
case when s.facultyid...
January 7, 2013 at 12:08 pm
manik123 (1/7/2013)
kk thanks for your reply.... but i try to ask how to drop that column.... i cannot drop that column.... nice article very useful to me.......:-)
I don't understand. You...
January 7, 2013 at 8:38 am
Your sample data is obviously not complete. It is totally useless in it's current form. You have two tables, one with a date and one with a varchar. There is...
January 7, 2013 at 8:26 am
It looks like that is a great candidate for converting to a table parameter. It would certainly make this a lot easier to maintain.
CREATE TYPE VarChar8K as Table
(
Col1 varchar(8000) null
)
Then...
January 7, 2013 at 8:12 am
manik123 (1/7/2013)
SQLTestUser (10/27/2010)
thanks for the clarificaiton
Actually i am new for table design. i added one new column like [insred_name] in existing table with spelling mistake. then i changed that column...
January 7, 2013 at 7:58 am
Jeff Moden (1/6/2013)
January 7, 2013 at 7:46 am
Viewing 15 posts - 9,676 through 9,690 (of 15,381 total)