Viewing 11 posts - 316 through 326 (of 326 total)
This will get you the path and filename of the latest backup file.
SELECT DISTINCT B.PHYSICAL_DEVICE_NAME
FROM backupset a, backupmediafamily b, backupfile c
WHERE a.database_name = '<Your DB Name Here>'
AND a.type =...
August 27, 2004 at 8:25 am
SQL 2K Profiler has a script option so you can create and script out the trace. Then put it in a job. I don't know if the older versions of...
August 27, 2004 at 6:54 am
I think you need to configure DCOM and grant access. I vaguely remember needing to do that when I set up debugger but I don't remember what I did. Hope...
August 24, 2004 at 6:20 am
You can use the extended sproc xp_getfiledetails to capture the information you need.
Create a temp table:
CREATE TABLE #ATTRIBS (
alternate_name VARCHAR(128),
INT,
creation_date INT,
creation_time INT,
last_written_date INT,
last_written_time INT,
last_accessed_date INT,
last_accessed_time INT,
attributes INT)
-- Check the archive bit to determine if the file has been...
August 4, 2004 at 7:04 am
Thanks - I wound up using a temporary table.
Select top 10 rownum = identity(int,1,1),
productid, quantity
into #tmp
from [order details]
order by quantity desc
select * from #tmp
where rownum in (8,9,10)
drop table...
August 3, 2004 at 7:29 am
I goofed on the 'rs'. should have been [order detail]. I now get a result but the count is the total number of records for each productid and since the...
July 28, 2004 at 10:42 am
Thanks - tried it and I still get the invalid object name 'rs'. The inner query uses the alias of order detail in the outer query. Would that be the...
July 27, 2004 at 11:29 am
Thanks for asking. I actually found the answer in a Microsoft KB Article - 830210. It looks like you have to do some digging to get information on replication.
Anyway,...
July 21, 2004 at 6:46 am
I looked at BOL for the sp_reladdcolumn and sp_repldropcolumn. They both have a schema_change_script parameter. Would that be the alter table script?
July 2, 2004 at 7:39 am
Thanks - DTS certainly sounds like a reasonable alternative. I'll set it up and test.
July 1, 2004 at 10:34 am
Thanks - I was fairly certain that was the case but I had hoped there was an undocumented "feature" somewhere.
June 22, 2004 at 6:18 am
Viewing 11 posts - 316 through 326 (of 326 total)