Viewing 15 posts - 23,686 through 23,700 (of 26,486 total)
To do what you are trying, you first have to define (create) the temporary table with the columns defined with the appropriate data types that will be returned, then you...
November 18, 2008 at 12:04 am
I would make the following simple change since you didn't say what is wrong with your existing query.
SELECT
c.CustomerID,
...
November 17, 2008 at 11:56 pm
You don't need the database files to restore a database from the backup files. This why you can restore the database to a brand new server, it will create...
November 17, 2008 at 11:45 pm
Could you post the create statements for both tables, sample data for both tables, the expected results after the query (the insert inthis case) is run, and the code you...
November 17, 2008 at 11:34 pm
Lynn Pettis (11/17/2008)
1) Using SQL Server 2005 (this is a SQL Server 2005 forum)
2) Database is using the Full Rocovery Model
3) All records to be deleted are based on the...
November 17, 2008 at 11:29 pm
Assumptions:
1) Using SQL Server 2005 (this is a SQL Server 2005 forum)
2) Database is using the Full Rocovery Model
3) All records to be deleted are based on the following original...
November 17, 2008 at 11:26 pm
mpdillon (11/17/2008)
Thanks for your replies. You have started me thinking in different direction than I had been. The problem I am trying to solve is one of comparing dates but...
November 17, 2008 at 11:15 pm
Could be caused by network issues or your server has gone down, or simply was rebooted (this is usually what happens to me here at work over night).
November 17, 2008 at 2:48 pm
I'm flattered that you waited. I'll be honest, I don't always look to see who may be reading any given thread.
I also guess that we tend to think a...
November 17, 2008 at 2:44 pm
Look at the Type. Full backups are D differentials are I and T-Logs are L. You want to ensure that your are restoring the lastest full backup. ...
November 17, 2008 at 2:42 pm
Garadin (11/17/2008)
AND C.Date > '11/12/2005'
to the end of Lynn's query.
Also, for future...
November 17, 2008 at 2:28 pm
Shailesh Chaudhary (11/17/2008)
Citation(CitationID, Date , ISReportTaken) and ReportExport(CitationID, ApplicationID, ISExported)
I want to insert One column records from Citation table to reportExport with ApplicationID =2 and ISExported =1...
November 17, 2008 at 2:19 pm
Run this query and see what you find:
select * from msdb.dbo.backupset where database_name = 'DBSwsam' -- use the appropriate DBName here
November 17, 2008 at 2:10 pm
I also reread your orinial post, and have a change.
Select all records with an end date of yesterday:
select
*
from
dbo.myTable
where
EndDt...
November 17, 2008 at 2:04 pm
Looks like you are trying to backup to a mapped drive. That may be the problem. Can you change the destination of the backup file to use a...
November 17, 2008 at 1:58 pm
Viewing 15 posts - 23,686 through 23,700 (of 26,486 total)