Viewing 15 posts - 6,706 through 6,720 (of 7,466 total)
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...
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...
February 8, 2005 at 6:52 am
Is this a clustered server ?
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.
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...
February 7, 2005 at 5:40 am
Thanks for the addition, Frank.
I was to much in a hurry for my lunchbreak.
.... and lost...
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
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
February 7, 2005 at 3:10 am
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...
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 (...
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...
February 2, 2005 at 5:39 am
Is this what you mean ?
-- Begin Tran
-- update T
-- set end_date = MEdt.MaxEndDate
select T.*
, MEdt.MaxEndDate
, Mmog.Maxmemberofgroup
from mytable T
inner join
(
select person_id ,max( end_date ) as MaxEndDate
from mytable
group by person_id
)...
February 2, 2005 at 5:09 am
... (repeat 80,000 times)....
with waitfor delay '00:01:00' ?
Adjust the set rowcount ***
select dateadd(mi,80000,getdate()) - getdate()
results :
February 2, 2005 at 4:53 am
set rowcount 100
declare @ctr as int
declare @TOTctr as int
select @ctr = 1, @TOTctr = 0
while @ctr > 0
begin
delete from history_log where event_date < '1/8/05'
set @ctr = @@rowcount
set @TOTctr...
February 2, 2005 at 12:21 am
Viewing 15 posts - 6,706 through 6,720 (of 7,466 total)