Viewing 15 posts - 16 through 30 (of 34 total)
As far as I know, there is no way to provide a database an alias name.
By the way why would you want to do this?
Just for the reason that your...
February 11, 2009 at 12:56 am
See if this helps.....had it in my archives........
SELECT
CONVERT(CHAR(100), SERVERPROPERTY('Servername')) AS Server,
msdb.dbo.backupset.database_name,
msdb.dbo.backupset.backup_start_date,
msdb.dbo.backupset.backup_finish_date,...
February 10, 2009 at 2:30 am
Ashok,
go to the Surface Area Configuration settings under the Configuration tools of MS server 2k5 and select the Surfacr Area Configurations for features.
There go and select the one which says...
February 10, 2009 at 2:10 am
Hi Ashok,
I hope the following would be of help to you and also not too late.....
The option for enabling the mail option could be done by configuring the database mail...
February 9, 2009 at 5:01 am
ok an example with a cursor...
declare @userid int
declare insertcur cursor fast_forward
for
select userid from users
open inertcur
fetch next from inertcur into @userid
while @@FETCH_STATUS = 0
begin
--- put in watever...
February 9, 2009 at 3:47 am
OK......now from where are you getting these values for Stat and the others (except for the user id.....i know where that from thanks to the explaination).
If your requirement is to...
February 9, 2009 at 3:25 am
Please could you be more clear on what you wish to do? I cant make any sense out of it.
February 9, 2009 at 3:07 am
You could however find the transaction log at the following path
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG
Now most of the data would be stored in binary form is my guess....Recovery of the deleted...
February 9, 2009 at 2:54 am
God help you........
nevertheless, here are a few things you could do the next your fingers stretch to write a delete statement...
1. take a backup of the rows that are to...
February 9, 2009 at 2:41 am
First of all thank You John and Keith, u guys have found some serious flaws there....
Keith, i must say I completely forgot about testing my script for that one particular...
January 13, 2009 at 2:14 am
Carlos,
First of all, great SP there...but let me tell you why mine is quite different from yours.
1. Here my aim was to script the table s data in insert script...
January 12, 2009 at 4:22 am
Well just to put in query terms what wagner have just suggested
DECLARE @AllPhones VARCHAR(1000),@Count INT,@maxcount int,@mincount int,@codname varchar(100),@rowcounted int,
@Row int,@codename varchar(100)
SET @AllPhones = ''
create table #Results(codname varchar(1000), PhoneNo varchar(1000))
create table...
January 2, 2009 at 5:00 am
Why dont you make use of a variable/temporary table to put all your data into and then retrieve the data using select *......
I assure you its more easy and better...
December 8, 2008 at 3:06 am
Well written...
Although I do have a point to add on just for the sake of it.....Its concerning the limitation of the Merge Command.
"The merge command could be used only on...
December 8, 2008 at 2:50 am
A real good explanation by Simon....Im quiet clear on this one..Thanks Simon:)
August 18, 2008 at 12:36 am
Viewing 15 posts - 16 through 30 (of 34 total)