Viewing 15 posts - 6,736 through 6,750 (of 7,499 total)
trivial, but overlooked it ![]()
![]()
![]()
Nice...
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 9, 2005 at 1:15 am
how about using transactions to get isolation ?
Offcourse everything has a price !
CREATE PROCEDURE GetColor
@OutRowID INT OUTPUT
AS
BEGIN
-- print statements added for debugging
SET NOCOUNT ON
declare @trancount int
set @trancount...
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 9, 2005 at 12:28 am
firts : ALTER DATABASE yourDB Set [RESTRICTED_USER , ]
READ_only WITH ROLLBACK IMMEDIATE
then perform your restore.
After restore, the db will be in the same state as it was when...
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 9, 2005 at 12:03 am
where is your query or error-generation command ?
select ...
from employee E
inner join Rooms R
on E.EmpRoomNum = R.RoomNum
inner join Device D
on D.DeVRoomNum = R.RoomNum
and D.DevSignByEmp = E.EmpID
would be...
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 8, 2005 at 7:01 am
.Bak files should be restored ![]()
check restore database in books online
I didn't check the forum-group ![]()
Now my responce...
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 8, 2005 at 6:52 am
Is this a clustered server ?
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 8, 2005 at 12:27 am
EnterpriseManagers does not autorefresh.
If you don't trust its results, disconnect and connect again so it refreshes all catalog-data.
Hitting F5 at the tables-tree in the lefthand pain, also may help.
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 7, 2005 at 6:42 am
check this site's search : "remove duplicates".
Test it before going live ! ![]()
Many of us use Query Analyzer to perform this kind of stuff.
(Enterprise...
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 7, 2005 at 5:40 am
Thanks for the addition, Frank. ![]()
I was to much in a hurry for my lunchbreak. ![]()
.... and lost...
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 7, 2005 at 5:09 am
select yourkeycolum(s) , count(*) as counter
from your_object
group by yourkeycolum(s)
having count(*) > 1
-- order by yourkeycolum(s)
I hope this helps ![]()
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 7, 2005 at 4:09 am
I'ts always a nice year if you can look back on it ![]()
Be patient, be strong and shut off your nose ![]()
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 7, 2005 at 3:10 am
also check this function :
http://www.sqlservercentral.com/scripts/contributions/1199.asp
![]()
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 7, 2005 at 2:09 am
actualy I guess it is a rounded value (...6667) ![]()
You might also consider float-datatype ![]()
set nocount on
create...
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 3, 2005 at 6:58 am
you might try this :
set nocount on
create table #t1 (col1 varchar(100) not null, col2 decimal(8,2) null)
insert into #t1 (col1) values ('.0366666666666666666666666666666666666667')
select * from #t1
update #t1
set col2 = convert(decimal(8,2),substring(col1,1,CHARINDEX (...
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 3, 2005 at 12:18 am
Check dbcc spaceused, to find out the index-statistics for your table/index.
dbcc dbreindex yourtable will optimize spaceusage of your table when you'r using a clustered index.
sp_updatestats, dbcc updateusage may help to...
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data and code to get the best help
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Who am I ? Sometimes this is me but most of the time this is me
February 2, 2005 at 5:39 am
Viewing 15 posts - 6,736 through 6,750 (of 7,499 total)