Viewing 15 posts - 6,901 through 6,915 (of 13,460 total)
Dj463 (8/22/2011)
Lowell (8/22/2011)
Rename the existing SQL123 to, say SQL123CLUSTERI think we cannot rename a SQL instance.
you rename the Server at the operating system/networking level, not the instances themselves.
any...
Lowell
August 22, 2011 at 1:05 pm
wouldn't you simply do the following.
1. Rename the existing SQL123 to, say SQL123CLUSTER
2. change the ip address on the SQL123CLUSTER to a different IP address.
3. enable clustering, and give...
Lowell
August 22, 2011 at 9:50 am
Ninja's_RGR'us (8/22/2011)
This will do a table scan anyways. So you might...
Lowell
August 22, 2011 at 9:27 am
girl_bj0619 (8/22/2011)
i received an error:Invalid object name '##results'.
the examples above (admittedly they are from 2007) suggested using a global temp table. i base dmy example fof of the previous...
Lowell
August 22, 2011 at 9:25 am
i think you want to use IF EXISTS:
IF EXISTS (select * from ##result)
BEGIN
EXEC msdb.dbo.sp_send_dbmail
@recipients=N'emailaddress',
@body='The IP address with over...
Lowell
August 22, 2011 at 9:16 am
nope not possible. a column must be identified, and it's new value identified for a valid UPDATE TABLE statement.
...but...you can use the table's metadata to generate the commands for you.
SELECT...
Lowell
August 22, 2011 at 9:13 am
my advice is you are looking for a problem that does not exist. leave the statistics alone, and update them often.
statistics are used by the system to find the data...
Lowell
August 22, 2011 at 8:30 am
shilpa.shankar87 (8/22/2011)
The specified schema name "sys" either does not exist or you do not have permission to use it.
Im getting above...
Lowell
August 22, 2011 at 5:49 am
nope, no non-clustered indexes either
indexes must always point to an object within a given database.....but the original table in the original database can have indexes up the wazoo. if they...
Lowell
August 19, 2011 at 2:01 pm
glad that my example got you thinking!
that one's from an old post where someone wanted ranges from like AA001,AA002,AA003 thru ZZ999
the table under that i tested for AAA0001 thru ZZZ9999,...
Lowell
August 19, 2011 at 12:25 pm
probably easiest to simply change the cursor to filter on only the databases that are not in SIMPLe recovery already
change the cursor definition to this:
declare c1 cursor for
select
...
Lowell
August 19, 2011 at 12:18 pm
here's something i use on my dev server...don't need anything in FULL recovery mode on that server at all...it's a play ground.:
USE MASTER
declare
@isql varchar(2000),
@dbname varchar(64)
declare c1 cursor for select name...
Lowell
August 19, 2011 at 11:44 am
in my case, I have a couple of tables i need to update statistics on a couple of times a day in order to assure good performance.
Typically you really only...
Lowell
August 19, 2011 at 11:35 am
can't be done.
by definition, an indexed view creates an index on an object in the database, so it becomes materialized as if it were a table, and an...
Lowell
August 19, 2011 at 10:52 am
JT-328471 (8/19/2011)
Sorry, what I meant was you aren't defining your rowterminator. Use a \ n (remove spaces)
he probably pasted it right...the forum here strips out \n unless you html-ize...
Lowell
August 19, 2011 at 10:24 am
Viewing 15 posts - 6,901 through 6,915 (of 13,460 total)