Viewing 15 posts - 46 through 60 (of 137 total)
You should be wrapping things in a transaction so this doesn't occur. Like you do w/ begin and commit tran. Have you considered using Component Services COM+ applications to...
May 13, 2003 at 9:31 pm
Try this:
SELECT Inventory.Item, c.CompName
from Companies c ,Inventory i where
(c.ID = i.ManufacturerID )
union select Inventory.Item, s.SvcName
from companies s, inventory i
where (s.ServicerId = i.ServicerId)
Darren
May 13, 2003 at 9:07 pm
You'll have to build a dynamic sql statement in a loop. Loop on the number of tests creating a select statement like this:
declare @SqlClause as varchar(500)
select @SqlClause = 'select...
May 13, 2003 at 8:51 pm
I'm not sure what it is but maybe if you post your query we could brainstorm. If it's not in BOL, then you could try removing parts of the...
May 12, 2003 at 5:32 pm
We use source safe. However, we've had to create custom tools to integrate tracking of stored procedures and some of our parameter tables that we want to track change...
May 12, 2003 at 5:27 pm
Check out BOL topic "OPENQUERY". This allows you to call an insert query from a linked server.
Darren
May 12, 2003 at 5:16 pm
1) In the Transformations tab of DTS properties. Double click on the line from the column that you want to transform to nulls. This should bring up a...
May 11, 2003 at 7:09 pm
Did you check the system application logs on the server? Instead of rebooting can't you just kill that process?
Darren
May 11, 2003 at 6:46 pm
My personal opinion would be to return all records that might be used and then process the subsets on the client side. You can easily do the loop by...
May 11, 2003 at 6:43 pm
Wrap the above query in a cursor, then for each table name from sysobjects you can dynamically build a select query then call EXECUTE passing in the sql statement with...
May 11, 2003 at 6:39 pm
Are you sure you don't have any jobs running on startup?
Darren
May 8, 2003 at 6:57 am
When your query is running, try running sp_who2 in another session of query analyzer and see if there are any blocks. Does this table not have an index with...
May 8, 2003 at 6:53 am
select * from sysobjects a, syscolumns b
where a.id = b.id
and b.name = 'YourColumnName'
Darren
May 7, 2003 at 3:21 pm
OK, I got that working but I now have another issue. The new proc can run from any database but returns results only from the master database. Like...
May 7, 2003 at 3:19 pm
Could you give me the purpose of this query in a real example so I can think it through more?
Darren
May 7, 2003 at 3:16 pm
Viewing 15 posts - 46 through 60 (of 137 total)