Viewing 15 posts - 6,781 through 6,795 (of 7,466 total)
sorry for the delay.... been out for the long weekend
Like Bob Monahon replied : this query...
December 20, 2004 at 2:52 am
just to add ..
you can use Alter view . BOL : Alters a previously created view (created by executing CREATE VIEW), including indexed views, without affecting dependent stored procedures or...
December 17, 2004 at 7:14 am
- tripple join
or
where with exists-clause for each condition
e.g.
select *
from myself T1
where exists (select * from myself where id = T1.Userid and...
December 15, 2004 at 7:39 am
AFAIK this is not possible with sqlserver, unless you use partitioned views. i.e. create a table per partition, manage each table's indexes according to the specific tables needs and create...
December 15, 2004 at 7:29 am
this what I use with VB6 sqldmo :
I hope this can help sort things out
Private Sub ScriptJobs()
On Error GoTo ErrorHandler
strStatementId...
December 15, 2004 at 7:25 am
just my 2 ct
- Why use a count(*) if your functionality is 'if exists '
- case yourcol when 0 then ...
else yourcol
end
December 15, 2004 at 1:06 am
are you member of the sysadm-sqlserver-role on the instance where it fails ?
December 15, 2004 at 12:57 am
DECLARE @MaximumDate char(8) ?? Why not use smalldatetime ??
Is MaximumDate in the table/view also defined char ?? if yes,you'll have to take care of it's format...
December 15, 2004 at 12:40 am
We use this T_TableLoadData in a way that we record if data is being loaded (loading_bit = true) and all applications querying the data will use a view which has an...
December 15, 2004 at 12:22 am
truncate clears the whole table and frees the pages in use by the table.
Delete is a logged operation and can have conditions. pages in use by the table are freed...
December 14, 2004 at 4:58 am
It will be more interesting when :
1) make your timestamp_last_update a datetime column !
2) always update the last_update_error (make it INT)
set @SQL_Error = @@error
if @SQL_Error = 0
begin
update T_TableLoadData
set...
December 14, 2004 at 4:45 am
if you are not using a where clause , you could use "truncate". see BOL
Try to perform many small chunks of transactional deletes to avoid blocking.
SET ROWCOUNT 1000
declare @Nrows int
set...
December 14, 2004 at 12:46 am
- doesn't Lotus Enterprise Integrator have any error-reporting feature ??
- you could create a parameter-data containing Table_name and timestamp_last_update and then add as last statement of each table-handling block :
update...
December 14, 2004 at 12:29 am
thanks for your time.
Instance_2 is using port 2446
Instance_3 is using port 2072
they reside at the same server.
Regarding the udp 445 : I have always been able to connect to instance_2,...
December 13, 2004 at 11:57 pm
you might want to use :
exec sp_depends @objname = 'object'
documented in BOL
December 13, 2004 at 12:17 am
Viewing 15 posts - 6,781 through 6,795 (of 7,466 total)