Click here to Skip to main content
15,914,413 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Connection Pin
Rob Graham9-Jun-06 5:23
Rob Graham9-Jun-06 5:23 
GeneralRe: SQL Connection Pin
nitin_ion9-Jun-06 17:53
nitin_ion9-Jun-06 17:53 
Questionoptimize this query Pin
smita_roy8-Jun-06 0:18
smita_roy8-Jun-06 0:18 
AnswerRe: optimize this query Pin
albCode8-Jun-06 0:50
albCode8-Jun-06 0:50 
GeneralRe: optimize this query Pin
smita_roy8-Jun-06 0:51
smita_roy8-Jun-06 0:51 
GeneralRe: optimize this query Pin
Colin Angus Mackay8-Jun-06 1:02
Colin Angus Mackay8-Jun-06 1:02 
GeneralRe: optimize this query Pin
smita_roy8-Jun-06 1:25
smita_roy8-Jun-06 1:25 
AnswerRe: optimize this query Pin
Chris Meech8-Jun-06 3:43
Chris Meech8-Jun-06 3:43 
I wouldn't optimize it! I'd change the data design. You should create another table called Reg_Number_Vehicle_Class that is used to store all of the the different classes you are using. Then create an insert trigger on your premium table to ensure the appropriate class id is assigned to each row. Create a non-unique index on that column and your query should run faster.

Chris Meech

I am Canadian. [heard in a local bar]

The America I believe in has always understood that natural harmony is only one meal away from monkey burgers. [Stan Shannon]

GOOD DAY FOR: Bean counters, as the Australian Taxation Office said that prostitutes and strippers could claim tax deductions for adult toys and sexy lingerie. [Associated Press]
AnswerRe: optimize this query Pin
Stephan Samuel8-Jun-06 11:09
Stephan Samuel8-Jun-06 11:09 
QuestionCreate sql server users and groups using SQL statement Pin
miceisland7-Jun-06 19:56
miceisland7-Jun-06 19:56 
AnswerRe: Create sql server users and groups using SQL statement Pin
Colin Angus Mackay7-Jun-06 22:20
Colin Angus Mackay7-Jun-06 22:20 
GeneralRe: Create sql server users and groups using SQL statement Pin
miceisland7-Jun-06 22:26
miceisland7-Jun-06 22:26 
AnswerRe: Create sql server users and groups using SQL statement Pin
Eric Dahlvang8-Jun-06 3:10
Eric Dahlvang8-Jun-06 3:10 
QuestionWrite to database problem Pin
my_btr7-Jun-06 18:59
my_btr7-Jun-06 18:59 
AnswerRe: Write to database problem Pin
S Douglas25-Jul-06 23:00
professionalS Douglas25-Jul-06 23:00 
QuestionDataReader Pin
md_refay7-Jun-06 9:24
md_refay7-Jun-06 9:24 
AnswerRe: DataReader Pin
Felipe Dalorzo7-Jun-06 10:29
Felipe Dalorzo7-Jun-06 10:29 
QuestionSQL: Count different product from diffrent suppliers Pin
zrocb817-Jun-06 6:51
zrocb817-Jun-06 6:51 
AnswerRe: SQL: Count different product from diffrent suppliers Pin
Kschuler7-Jun-06 11:22
Kschuler7-Jun-06 11:22 
AnswerRe: SQL: Count different product from diffrent suppliers Pin
Eric Dahlvang7-Jun-06 11:53
Eric Dahlvang7-Jun-06 11:53 
AnswerRe: SQL: Count different product from diffrent suppliers Pin
Paddy Boyd8-Jun-06 4:10
Paddy Boyd8-Jun-06 4:10 
Questionn th highest salary in sql server 2000 Pin
24891287-Jun-06 4:30
24891287-Jun-06 4:30 
AnswerRe: n th highest salary in sql server 2000 Pin
Paddy Boyd7-Jun-06 5:01
Paddy Boyd7-Jun-06 5:01 
AnswerRe: n th highest salary in sql server 2000 Pin
Paul Conrad7-Jun-06 5:31
professionalPaul Conrad7-Jun-06 5:31 
AnswerRe: n th highest salary in sql server 2000 Pin
Eric Dahlvang7-Jun-06 10:49
Eric Dahlvang7-Jun-06 10:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.