Viewing 15 posts - 301 through 315 (of 684 total)
Sure,
Try this:
exec sp_msforeachdb '
select ''?'' as databasename
, @@version as version
, @@servername as servername
, databasepropertyex(''?'', ''IsPublished'') as IsPublished
, str(convert(dec(15),sum(size))* (select convert(varchar(11),low) from master.dbo.spt_values where type = N''E'' and number = 1)/...
March 19, 2008 at 9:26 am
Richard Edwards (3/19/2008)
March 19, 2008 at 9:21 am
El, try this:
select db_name() as databasename
, @@version as version
, @@servername as servername
, databasepropertyex(db_name(), 'IsPublished') as IsPublished
, str(convert(dec(15),sum(size))* (select convert(varchar(11),low) from master.dbo.spt_values where type = N'E' and number = 1)/ 1048576,10,2)...
March 19, 2008 at 9:13 am
adelan (3/19/2008)
I appreciate your prompt reply and i understand you need more info.
The databases are police dbs and no of users is about 150 and will continue to increase,...
March 19, 2008 at 8:32 am
Hi Jay,
I'm not sure what the issue is here. You seem to know how to create a table so it's just a question of creating the table beforehand and...
March 19, 2008 at 6:55 am
In this case you'd need to ensure that you maintain the lock on TeamBalance when you do the select statement.
The updlock tells SQL Server to take out an update lock...
March 19, 2008 at 6:21 am
You could use xp_readmail to read mail from the SQL Mail box. However this is being deprecated in a future version of SQL Server.
That said, it looks like an...
March 19, 2008 at 5:36 am
Hi. This is a virtually impossible question to answer. There are so many factors that go into planning the hardware architecture required for any system
Questions like performance, how...
March 19, 2008 at 4:49 am
Niels Naglé (3/19/2008)
The general problem of this...
March 19, 2008 at 4:14 am
imgflow (3/19/2008)
The issue is that i do not know with which table is is going to happen next - i seems to be any of the table carrying financial transaction...
March 19, 2008 at 4:12 am
Steve Hindle (3/19/2008)
With the increase in log file size - the live log files (I have 2 ldfs) only total 3GB in size, but when I...
March 19, 2008 at 3:59 am
znkin (3/19/2008)
TeamId Balance
1 1000
2 2000
Now if a user belonging to Team 1...
March 19, 2008 at 3:55 am
In terms of finding out what happened there are some third party tools that will allow you to look at the transactions that went through the log file. This...
March 19, 2008 at 3:44 am
Hi Steve,
Unfortunately, if the database you've backed up has an 11 GB log file then there's no way to restore a database without logging. You could shrink the log...
March 19, 2008 at 3:39 am
There's a Previous( ) function you can use. The expression would look something like this.
=IIf (IsNothing(Previous(Fields!SomeField.Value))=1, [enter some value for condition evaluation to true], [enter some other value for...
March 19, 2008 at 2:59 am
Viewing 15 posts - 301 through 315 (of 684 total)