Viewing 15 posts - 136 through 150 (of 335 total)
Yes, you can connect this database to 2005, however, when you attach these files, the structure is internally converted to a 2005 database. Which means, you can't detach these files...
October 30, 2008 at 6:51 am
and after the rebuild, you'll have your "wasted space" back in your database .... 🙂
October 28, 2008 at 7:37 am
Sorry, I posted the wrong answer. Try this:
print '*** Creating objecten voor DBSize'
print ''
if not exists (select 'yes' from sysobjects where name = 'dbsize')
BEGIN
CREATE TABLE DBSize(
[Servername] sysname DEFAULT @@SERVERNAME
, [Servicename]...
October 28, 2008 at 4:57 am
try this:
select * from sysfiles
Why do you have more than 1 logfile? It won't acclerate your database ....
October 28, 2008 at 4:51 am
start your query with:
SET NOCOUNT ON
October 28, 2008 at 4:49 am
1) go to SQL Agent -> alerts
2) right click on alert and select "New Alert"
3) On tab "general", set:
- name: process blocked
-...
October 28, 2008 at 3:07 am
DISCLAIMER: It's very important you'll know the concepts of a logfile. Start reading Books on Line, or search this site. My answers to your question are very basic. How you...
October 27, 2008 at 7:27 am
No, that's incorrect.
See the exact formulas for determing a leap year on http://en.wikipedia.org/wiki/Leap_year
October 27, 2008 at 3:56 am
Not exactly knowing how you manage your database, consider:
- statistics are created and updated
- indexes are analyzed and rebuilded/reorganized
- check for fragmentation (logical/physical/disk)
Also:
- check the location of your data- and...
October 24, 2008 at 5:57 am
No. Found the original location: http://www.mssqltips.com/tip.asp?tip=1527
October 20, 2008 at 8:23 am
Found this trick for determing a leap year (thought it came from this site)
if object_id('udf_IsLeapYear') is not null
drop function udf_IsLeapYear
GO
create function dbo.udf_IsLeapYear (@year int)
returns bit
as
begin
return(select case...
October 20, 2008 at 7:20 am
Some tests is did:
create table wdi(datum datetime null)
insert into wdi(datum) values ('')
insert into wdi(datum) values (NULL)
select * from wdi
drop table wdi
output: 1900-01-01 00:00:00.000
...
October 20, 2008 at 4:42 am
Do you want a NULL value, or a default value, when no data is specified?
If you allow NULL values, check/alter the table definition
For default value, add a default constraint to...
October 20, 2008 at 4:17 am
See this excellent article about recovery models: http://www.sql-server-performance.com/articles/per/Database_Recovery_Models_in_SQL_Server_p1.aspx
October 15, 2008 at 12:39 am
You have to admit, that's cool
"It depends"... 😛
Yeah, I know. Being an Oracle DBA for 8 years, I have to say some (many?) functionalities are more sophisticated, compared to...
October 14, 2008 at 5:45 am
Viewing 15 posts - 136 through 150 (of 335 total)