Viewing 15 posts - 4,381 through 4,395 (of 5,103 total)
Paula,
1. After you generate the scripts ( FOR ALL OBJECTS ) from EM, make sure to replace the Collate Statements to the NEW collation.
2. Create a new database on the...
* Noel
October 5, 2004 at 9:44 am
... switching either the filegroup or the database to read only would give a performance benefit?
For Sure! No locking will be involved and less resources will be utilized for those...
* Noel
October 5, 2004 at 9:32 am
you should enhance the script with "dbcc opentran" for each of the spids if you want to warn the spids involved, and retry those after a predefined timeout period but you...
* Noel
October 4, 2004 at 3:56 pm
I am not saying that you remove referential integrity. This could very well be a design issue
ex:
1.Resources (ResourceId (PK), ResourceName)
2.Connectors(ConnectorId(Pk), ConnectorName)
3.Connections (ConnectorId1(PK), ConnectorId2(PK), ResourceID(PK))
I really don't know enough about your...
* Noel
September 28, 2004 at 7:27 pm
There are several aproaches to do what you want.
What I usually do in these cases is to disallow DML directly to tables and perform the logic eather on specially created stored procedures...
* Noel
September 27, 2004 at 6:29 pm
SELECT DISTINCT BuyListingID, SellListingID, ProductID
FROM BuyListings INNER JOIN SellListings ON BuyListings.ProductID=SellListings.ProductID
HTH
* Noel
September 23, 2004 at 2:43 pm
"...believe you need Enterprise edition to use indexed views.. "
That is not correct either you can use standard edition too just remember to use the (NOEXPAND) hint on the...
* Noel
September 23, 2004 at 2:40 pm
SQL SERVER DO HAVE Something like the materialized view in Oracle they are call INDEXED VIEWS instead. There are a lot of restrictions to make them work but for many many...
* Noel
September 23, 2004 at 12:05 pm
"Same problem. Chances are very slim"
Yes but,
1. the simplicity of the query
2. the speed and
3. the generality
are a lot better that the proposed solution
* Noel
September 22, 2004 at 6:20 pm
As you said
"... The only danger with this solution, even though the chances are very slim, is that the different original values might produce the same hash and result...
* Noel
September 22, 2004 at 3:54 pm
OR
SELECT A.*
FROM vwMatched A left join tblExclude E on E.userId = A.userId
AND E.jobId = A.jobId
WHERE E.userId is Null
* Noel
September 15, 2004 at 10:11 am
declare @total int
set @total = 100
select @total = @total + count (*) from Northwind..Orders -- 830 rows
select @total
* Noel
September 10, 2004 at 2:20 pm
AND After you run the above script run
sp_change_users_login (See BOL for info on how to use it)
to Synch the DB with the master just in case you have other...
* Noel
September 10, 2004 at 2:13 pm
create table ttt(col_a decimal(9,4))
insert into ttt( col_a ) values (1.2345)
insert into ttt( col_a ) values (2.3456)
insert into ttt( col_a ) values (3.4567)
--- Check before and after
select col_a Before ,...
* Noel
September 10, 2004 at 1:45 pm
Both above look good But It is my experience that at some point you may want to get rid of an employee and guess what will happen?
You CAN'T because it...
* Noel
September 10, 2004 at 1:29 pm
Viewing 15 posts - 4,381 through 4,395 (of 5,103 total)