Viewing 15 posts - 1,321 through 1,335 (of 2,044 total)
nr 2.
You can use the inner join. The results for invoice,lineitem will be null if no matching customer is found.
December 16, 2006 at 8:23 am
Thanks again, it worked out.
Script:
DECLARE @Tablename nvarchar(128)
DECLARE @UserName nvarchar(128)
DECLARE @ConcatName nvarchar(128)
DECLARE @DatabaseName nvarchar(128)
CREATE TABLE #Databases
(
Databasenaam nvarchar(128)
)
CREATE TABLE #temp2(
rec_id int IDENTITY (1, 1),
username varchar(128),
table_name varchar(128),
nbr_of_rows int,
data_space decimal(15,2),
index_space decimal(15,2),
total_size decimal(15,2),
percent_of_db decimal(15,12),
db_size decimal(15,2),
dbname...
December 15, 2006 at 3:53 am
Thanks for the suggestion, I'll try that one out.
December 14, 2006 at 12:38 pm
The second one could be faster because the server can check its statistics more quickly.
I would suggest using inner join instead of Title T, TitleSearch TS
Select ...
from title T inner...
December 7, 2006 at 5:01 am
Can you log on as the user on the database using enterprisemanager, queryanalyzer? The securityid of the user in the database might be different than the one in the master-database
November 27, 2006 at 2:37 am
Beware that RAID 5 is slower for writing. Consider RAID 1+0 instead.
November 17, 2006 at 5:12 am
Have you tried
execute master.dbo.xp_cmdshell 'c:\project.exe'?
November 15, 2006 at 12:43 am
Have you checked http://support.microsoft.com/kb/839279?
November 14, 2006 at 9:53 am
The tables must have some unique index/primary key, which will act as row-identifier, to perform a distributed transaction (like inserting in another server)
If one of the servers runs on Windows...
November 14, 2006 at 7:07 am
Both tables have a primary key?
November 14, 2006 at 5:25 am
You can monitor the locks on sometable by sp_lock.
Depending on the situation you could move EXEC master..xp_cmdshell 'start C:\FileBuilder.exe', NO_OUTPUT to an sqlserver-job and start it fom your trigger.
October 19, 2006 at 4:38 am
have you tried UNC? \\computername\....
October 12, 2006 at 4:25 am
have you tried UNC? \\computername\....
October 12, 2006 at 4:25 am
The data is available though windows performance counters or master.dbo.sysperfinfo
October 5, 2006 at 4:29 am
Thanks, I'll have a look into DBCC PAGE
October 2, 2006 at 7:37 am
Viewing 15 posts - 1,321 through 1,335 (of 2,044 total)