Viewing 15 posts - 316 through 330 (of 462 total)
Why do you want to use extra views?
Why not use the MainDB.Owner.TableName from like that:
select EMP.emp_name,
SAL.amount
from OneOwner.sales as SAL join MainDB.SecondOwner.Employees...
Bye
Gabor
November 2, 2003 at 5:14 pm
The SQLServer is using only 1 index on one table at time.
The optimizer will choose one of the index dependig on the statistics.
After either there will be a bookmark lookup...
Bye
Gabor
November 2, 2003 at 4:55 pm
Sorry Tim,
in the third solution (the pivot) you don't have to put the group by clause.
It has been a typo (copy/past) error. ![]()
Bye
Gabor
Bye
Gabor
November 2, 2003 at 4:39 pm
You could have several possibilities
1:)
SELECT MM.MonthNum AS [Month],
Count(DatePkgSent) AS AmountSent
FROM PotentialClients P right join
...
Bye
Gabor
November 2, 2003 at 4:34 pm
There is no exact rule.
Tell us how your production environment is (database size, number of concurrent users, number of transactions per minute, type of application (OLTP, OLAP), average size of...
Bye
Gabor
October 30, 2003 at 7:10 am
The problem is easy when you want to convert the CURRENT time from UTC to local time or vice versa.
The difficulty is, as I've already run into, to say what...
Bye
Gabor
October 30, 2003 at 7:03 am
If you want to define the number of returned rows as a parameter the only possibility is ROWCOUNT like this example:
create proc S_Sample @col1 int, @numrows int
as
set rowcount @numrows
select *...
Bye
Gabor
October 29, 2003 at 2:30 am
I personnaly like Delphi for database development.
It's making a fast executable (standalone exe) with a fast development time.
You can find plenty of free and payable components where you can do...
Bye
Gabor
October 29, 2003 at 2:23 am
if you are entereing DBCC SHOWCONTIG without any parameter the you will generate the showcontig for ALL tables.
If you are entering DBCC SHOWCONTIG WITH TABLERESULTS then you will get a...
Bye
Gabor
October 20, 2003 at 1:44 pm
A WEB based app is by design an OLTP app.
You can never know how many users ar ehitting your DB.
Therefore you have to design your DB performance in view.
Your question...
Bye
Gabor
October 20, 2003 at 1:36 pm
Martin,
What I'm doing when I'm reindexing my SAP database is the following:
Bye
Gabor
October 20, 2003 at 1:28 pm
And just summarising all what have been said I would say that for SQL Server performance what you need (in this order) Processor speed, memory and then disk.
Normally if you...
Bye
Gabor
October 14, 2003 at 2:25 am
Do you have in your path your sqlserver bin folder?:
C:\Program Files\Microsoft SQL Server\MSSQL\Binn
Bye
Gabor
Bye
Gabor
October 8, 2003 at 9:09 am
Or you can use EM to alter your table and insert your new column where you want if you want to keep the timestamp column at the end.
Bye
Gabor
Bye
Gabor
October 8, 2003 at 7:59 am
Dave,
For that particular query I would define an index like this:
create clustered index I1 on AR(Transaction_Type, NAME, DUE DESC)
or
create clustered index I1 on AR(Transaction_Type, NAME, DUE DESC, Transaction_UID)
and at least...
Bye
Gabor
October 7, 2003 at 10:25 am
Viewing 15 posts - 316 through 330 (of 462 total)