|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Saturday, March 16, 2013 4:03 PM
Points: 14,
Visits: 336
|
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 6:45 AM
Points: 1,441,
Visits: 2,485
|
|
You could just use this
EXEC sp_MSforeachtable @command1="EXEC sp_spaceused '?' "
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, June 16, 2009 8:30 PM
Points: 1,
Visits: 6
|
|
I am getting eror( i m using sql server 2005):
Msg 102, Level 15, State 1, Line 9 Incorrect syntax near ' '.
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 7:36 PM
Points: 62,
Visits: 474
|
|
It doesn't work -
Msg 102, Level 15, State 1, Line 10 Incorrect syntax near ' '.
on spt_values.number = 1 and spt_values.type = 'E'
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, March 02, 2011 9:02 AM
Points: 49,
Visits: 191
|
|
Remove everything that looks like a space at the beginning of lines 10 and 11, i.e.
... on spt_values.number = 1 and spt_values.type = 'E' ...
Paul.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Saturday, March 16, 2013 4:03 PM
Points: 14,
Visits: 336
|
|
| Thanks for the comments. Some non-printing characters got in there - it should be fixed soon.
|
|
|
|