Viewing 15 posts - 42,931 through 42,945 (of 49,571 total)
You already have the query. All you need to do is create the table to match and then convert the select to an insert. All that required is adding the...
November 26, 2008 at 2:21 pm
Adam Bean (11/26/2008)
I am going to restore to a 2005 instance and try again to prove out that this is a 2000 problem.
Nope. It performs like a dog on SQL...
November 26, 2008 at 2:16 pm
shiva challa (11/24/2008)
With the (nolock) table hint, no shared locks are issued and exclusive locks are ignored.
Using nolock doesn't just allow dirty data. It essentially says to SQL that...
November 26, 2008 at 2:09 pm
Hmmm. Odd. Did you create that through the management studio GUI? If so, what options did you select?
What do the following return?
select name, type_desc from sys.objects
where object_id = OBJECT_ID('NAMES') OR...
November 26, 2008 at 2:06 pm
Create the table, then do an insert into... select ... with that query as the select. If you want it to refresh ever day, then you'll need to set up...
November 26, 2008 at 2:01 pm
It doesn't add builtin\administrators. It adds windows accounts that you specify to SQL server and makes them sysadmin. There's no good reason not to run it.
If your server is set...
November 26, 2008 at 1:54 pm
Adam Bean (11/26/2008)
Why oh why is this not working!
I'll be blunt. That form of query does not and can not perform well. Regardless of indexes, order of bits in the...
November 26, 2008 at 1:48 pm
I also took very few photos. I checked my camera this afternoon and realised that I took just 1 photo during the 3 main days. 🙁
November 26, 2008 at 1:36 pm
nate (11/26/2008)
Gail, the quick response is much appreciated. Also, nice presentation at PASS 2008.
Oh, thanks.
The primary key is actually non-clustered, and I'm trying to delete a clustered...
November 26, 2008 at 1:26 pm
Benjamin Lotter (11/26/2008)
By default, when you install SQL, it adds the group "BUILTIN\Administrators" to the SQL Server with the sysadmin server role.
Not on Vista or Server 2008. On those...
November 26, 2008 at 1:23 pm
The primary key is enforced by an index and, I'd guess from your description that the primary key is the clustered index (use sp_helpindex to check). You can't drop the...
November 26, 2008 at 1:16 pm
Trace does show before execution. That's what the StmtStarting and SPStarting events are. The StmtCompleted and SPCompleted are the events that fire after execution. It's not going to let you...
November 26, 2008 at 1:07 pm
Thread continues here: http://www.sqlservercentral.com/Forums/FindPost609378.aspx
Marin: It's better to continue posting on a single thread than to start a new one. That way the people helping you can see when new posts...
November 26, 2008 at 12:43 pm
For the sample data that you've posted, what's the output that you want? What records do you want back?
November 26, 2008 at 12:32 pm
You can use profiler and catch the statement/sp starting events. Not sure if it's the right solution though.
What's the reason behind the question? What are you trying to do with...
November 26, 2008 at 12:31 pm
Viewing 15 posts - 42,931 through 42,945 (of 49,571 total)