Viewing 15 posts - 4,531 through 4,545 (of 7,185 total)
I've never attempted it myself, but you could try writing a custom report that you invoke by right-clicking on Tables and choosing Reports -> Custom Reports.
John
May 15, 2012 at 7:40 am
Shovan
No, there are two separate options for the cluster resource, which, from memory, are Initiate Failover and Take Offline. The former will fail the resource (the whole group, I...
May 14, 2012 at 4:46 am
Shovan
Go into Cluster Administrator, take the SQL Server resource for the instance in question offline, then bring it back online. Don't forget to ensure that SQL Server Agent starts...
May 14, 2012 at 2:51 am
I would nearly always advise the SSIS route. It's more flexible and it enables you to do transformations that you can't (easily) do with T-SQL. It's also easy...
May 11, 2012 at 8:59 am
The best thing to do here is to look up the syntax for cursors in Books Online, have a go at writing it yourself, and post back if there's anything...
May 10, 2012 at 1:49 am
As far as I remember, Filestream isn't available in SQL Server 2005, so you're probably stuck with storing images in the database. You could purchase some document repository software...
May 10, 2012 at 1:44 am
Sum up your order lines before joining to Orders, something like this:
with Orders
as (select 1 Id,
...
April 27, 2012 at 4:33 am
Case solved. You need to post on an Oracle forum.
John
April 27, 2012 at 4:13 am
i am running the above query in SQLDeveloper tool.
What happens if you run it in SSMS? Also, that error message does not look like one generated by SQL Server....
April 27, 2012 at 1:49 am
Have two ForEach loops - one for txt files, and one for Excel files.
John
April 26, 2012 at 4:00 am
I'm guessing one or more of your databases have a case-sensitive collation. The name of the INFORMATION_SCHEMA schema and the views within it are upper case.
John
April 26, 2012 at 3:37 am
What errors are you getting?
Actually, I would urge you not to split the dates into their constituent parts. Store them in the database as datetime, and perform any manipulation...
April 26, 2012 at 3:16 am
You can get the most recent backup file for each database like this:
SELECT
r.DBName
,r.type
,r.BackupStart
,s.backup_finish_date
,s.backup_size
,m.physical_device_name
FROM ( --gets most recent of each type of backup for each DB
SELECT
d.name AS DBName
,b.type
,max(b.backup_start_date) AS BackupStart
FROM master.dbo.sysdatabases...
April 25, 2012 at 8:38 am
Are you backing up with a maintenance plan? The file name contains a time and date stamp, so it will be different every time.
John
April 25, 2012 at 7:57 am
Viewing 15 posts - 4,531 through 4,545 (of 7,185 total)