Viewing 15 posts - 21,631 through 21,645 (of 22,184 total)
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
And since this is 2005, the sqlcmd command line utility as well.
October 16, 2007 at 6:44 am
I wish I had real wit, but all I can come up with is "Hey, Steve, you've got a groupie."
Seriously though Sandy, you left out Gail Shaw, NinjaRGR and a...
October 16, 2007 at 6:36 am
You've got perfect programmers too? Wow. Small world.
Seriously though, sounds like you're on the right track.
October 16, 2007 at 6:14 am
John Aherne (10/15/2007)
October 16, 2007 at 5:59 am
Steve Jones - Editor (10/15/2007)
However I think Matt made a great observation. Be careful about moving to a new employer because the...
October 15, 2007 at 11:53 am
Viewing 15 posts - 21,631 through 21,645 (of 22,184 total)