Viewing 15 posts - 3,541 through 3,555 (of 7,496 total)
Best is to capture this content for a while (to have persistent data)
select db_name(database_id) as DbName
, case db_id() when database_id then object_name(object_id)
else cast(object_id...
August 9, 2009 at 10:25 am
This backup of your database has been created using multiple backup files !
You need all files of that backup(set) to restore the database.
August 8, 2009 at 4:23 am
smtp & win2008 seem to have changes in setup compared to win2003.
Maybe this one helps ...
August 4, 2009 at 2:39 am
did you enable dbmail xps
-- enable db-mail
exec sp_configure 'show advanced options', 1;
RECONFIGURE;
GO
exec sp_configure 'Database Mail XPs', 1; -- 0 to Disable and 1 to enable
...
August 3, 2009 at 5:35 am
- is your mail server accepting smtp from your cluster nodes and sql instances (may need grants at mail software level on the mail server)
- is sqlbrowser running ?
...
August 2, 2009 at 3:11 am
altering to varchar(8000) is only a catalog operation (and maybe an index op if the column is indexed) because it stays the same datatype, only the var length changes.
Changing...
July 29, 2009 at 1:16 pm
Some samples (I'm not sure where I got them from) :
BEGIN TRY
-- Generate a divide-by-zero error.
SELECT 1/0;
END TRY
BEGIN CATCH
...
July 28, 2009 at 12:02 pm
peleg k (7/28/2009)
SET @Err = @@ERROR
SELECT @ErrorMessage = ERROR_MESSAGE(),
@ErrorSeverity = ERROR_SEVERITY(),
@ErrorState = ERROR_STATE();
END CATCH
IF @Err...
July 28, 2009 at 4:55 am
As you suffered, any DRP should include your "day to day working environment" as well.
Don't you just love those 1TB usb disks 😎
Combined with a good Ghost software it...
July 23, 2009 at 7:56 am
CREATE LOGIN [MyAlternateSA] WITH PASSWORD=N'Super$ecr@PwD' , DEFAULT_DATABASE=[master], CHECK_EXPIRATION=ON, CHECK_POLICY=ON;
EXEC master..sp_addsrvrolemember @loginame = N'MyAlternateSA', @rolename = N'sysadmin';
July 23, 2009 at 5:55 am
Great addition Lowel :w00t:
Now all OP has to do is copy/paste and hit F5.
One last remark, if these tables contain many rows and you cannot perfrom "truncte table ..."...
July 23, 2009 at 5:37 am
abhishek.c1984 (7/23/2009)
Actually iam using hibernate, it will take care of such activities...
w.r.t your opinion i have create a sample JDBC connection as shown below, but iam...
July 23, 2009 at 4:29 am
use at your own risk 😉
You could use this to start with
Select 'Delete from [' + TABLE_CATALOG + '].[' + TABLE_SCHEMA + '].[' + TABLE_NAME + '] where...
July 23, 2009 at 4:23 am
BP is always to specify the database name you want to connect to (don't rely on the logins default database ! A sql instance can host multiple databases !)
Check out...
July 23, 2009 at 3:52 am
abhishek.c1984 (7/23/2009)
I have just executed the query in SQL Server 2005, it worked fine...but the database connection was broken
-------
Nonqualified transactions are being rolled back. Estimated rollback completion:...
July 23, 2009 at 1:31 am
Viewing 15 posts - 3,541 through 3,555 (of 7,496 total)