Viewing 15 posts - 21,631 through 21,645 (of 22,189 total)
Well, it depends. Most of the time, yes, but watch for Table Spool operators in the query plan as a way to spot interim tables being built. You'll definitely see...
October 18, 2007 at 8:28 am
If you read Itzik Ben-Gan's book on SQL Querying, he lumps CTE's and derived tables together because they are so similar in behavior (as you're seeing in the execution plans...
October 18, 2007 at 7:18 am
What the hell, I'm just a volunteer at PASS, so the pay cut when I get fired isn't going to be too bad.
I think a lot of these are very...
October 18, 2007 at 6:51 am
I understand there's no server.
If you built FoxPro app and had a shared database that more than one user was going to hit, each of the clients had some...
October 17, 2007 at 12:24 pm
Sure sounds like a client type of error. We get the same thing when we try to connect to Oracle when the Oracle client hasn't been installed on the server...
October 17, 2007 at 12:05 pm
Here you go. This is using AdventureWorks. Have fun:
CREATE VIEW y
AS
WITH x AS (SELECT *
FROM [HumanResources].[Employee]
)
SELECT * FROM x
GO
SELECT * FROM y
October 17, 2007 at 10:34 am
Please tell me that 260 tables were designed with a clustered index as part of the design.
If you left the clustered index off all the tables as you built the...
October 17, 2007 at 6:42 am
October 17, 2007 at 6:40 am
You can't trap errors in 2000. TRY/CATCH was introduced in 2005 in order to provide error trapping.
October 17, 2007 at 6:31 am
I apologize, but I've never heard of the nested update statement before. I ran it through Google and BOL. I'm not seeing it anywhere.
October 17, 2007 at 6:23 am
System catalog view:
SELECT * FROM sys.servers
It's one of the properties, is_rpc_out_enabled.
October 17, 2007 at 5:28 am
Look up the EXECUTE statement in BOL:
EXECUTE ('USE STUFF;DROP INDEX OWNER_idx ON dbo.OWNER')
AT SQLnk
The linked server has to support RPC calls:
EXEC master.dbo.sp_serveroption @server=N'SQLnk', @optname=N'rpc', @optvalue=N'true'
Oh, and, Warren Peace: SKY HIGH...
October 16, 2007 at 1:07 pm
You can use IS_MEMBER() to determine the current users inclusion in a particular group. There are also a series of dynamic management views (DMV) that access security. Try sys.database_role_members and...
October 16, 2007 at 8:23 am
I'd heard C++ too. I don't recall the source though.
October 16, 2007 at 8:14 am
The error logs are just text files. You should be able to simply open them in a text editor, completely seperate from SSMS.
October 16, 2007 at 8:05 am
Viewing 15 posts - 21,631 through 21,645 (of 22,189 total)