Viewing 15 posts - 2,311 through 2,325 (of 2,356 total)
Just to make sure I am not insane, I took one of our dev boxes, renamed the MACHINE from Dev001 to Dev010, re-added it to Active Directory, and used sp_dropserver...
February 3, 2011 at 7:28 am
crazy4sql (1/31/2011)
its as simple as this.....as you cant rename the system database, similarly you cant rename the servername
This is what you said in a previous post. Were you referring...
February 2, 2011 at 6:05 pm
Why can't you rename a server? I have done it many times.
February 1, 2011 at 5:29 am
Wait a minute....
I've installed SQL 2005 a few zillion times and, unless my memory is failing miserably, I do not remember anyplace to enter the company name during installation.
What...
February 1, 2011 at 5:27 am
My question is why is the log file so big in the model database?
November 10, 2010 at 7:44 am
The first thing I would question would be the Access code.
If the query is running slowly through the VBA, then does it also run as slowly directly in a SSMS...
November 8, 2010 at 2:29 pm
How about an SMS text, a Blackberry PIN message, and possibly a cell phone call?
November 8, 2010 at 12:15 pm
Is email the only method that can be used to send notifications for an alert?
November 8, 2010 at 10:40 am
With further testing, I discovered that we are both correct.
Yes, I originally changed it through the GUI. In a table this size, that could cause the system to slow...
November 5, 2010 at 11:21 am
It seems as if you do not need a function, but an update of the field.
Are you trying to correct some values in a table?
November 5, 2010 at 11:18 am
How about
create function test(@Country NVARCHAR(100),@Addressline NVARCHAR(100))
returns nvarchar(100)
AS
Begin
declare @result nvarchar(100)
set @result= (select (SUBSTRING(@ADDRESSLINE, nullif(patindex('% ' + s.format + ' %', ' ' +...
November 5, 2010 at 10:51 am
After I though about your statement:
You cannot alter a column to add/remove the identity property. You would have to create a new column completely and then drop the old one.
I...
November 5, 2010 at 10:25 am
I stand corrected. It's early, and the caffiene hasn't kicked in.
I still think that leaving the clustered index off will be faster when performing the insert. That being...
November 5, 2010 at 9:23 am
How about option 3?
1. Use BCP to copy the data out.
2. Create the new table, without the identity. Leave it as an integer(or a bigint), and do not...
November 5, 2010 at 8:01 am
If this is for Dev/QA/sandboxes, then the following code should work for you. It sets the database to simple, and shrinks both the log and data files. ...
November 1, 2010 at 10:16 am
Viewing 15 posts - 2,311 through 2,325 (of 2,356 total)