Viewing 15 posts - 196 through 210 (of 683 total)
This isn't possible. You can have two objects with the same name that have different owners/schema. But they'll be different objects. For example, you could have Sales.SalesTable...
April 4, 2008 at 4:54 am
Unfortunately you're going to have to alter each view's definition and encrypt them that way. Or you could use a third-party application - I'm sure there are some out...
April 4, 2008 at 4:51 am
You're supposed to use the object id of the trigger, not the table.
select objectproperty(object_id('name of trigger'), 'ExecIsTriggerDisabled')
April 4, 2008 at 4:47 am
Ratheesh.K.Nair (4/4/2008)
Hi experts,What is duplicate index and howz its created???
Thanks in Advance
A...
April 4, 2008 at 4:43 am
Phil,
That String.Format you were given is for the front-end code. That should work well enough. Or you could opt to format it in SQL Server if you wanted...
April 4, 2008 at 4:38 am
Mahesh Bote (4/4/2008)
April 4, 2008 at 3:01 am
karthikeyan (4/4/2008)
It is not working.
...
April 4, 2008 at 2:40 am
It's not strictly true that SQL Server grabs all the memory it can get (not in one go anyway). What happens is, if SQL Server needs 200 mb then...
April 4, 2008 at 2:14 am
y.koteswarrao (4/4/2008)
Thank you for your reply........by re runnuning the sql services one log file will be created automatically is it.But while stop the services we cann't make any transaction...
April 4, 2008 at 1:42 am
karthikeyan (4/4/2008)
Any inputs ?
If you modify Mahesh's solution just a little bit you've got your answer:
Declare @strSQL VarChar(Max)
declare @count int
set @count = 0
Select @count = @count + 1, @strSQL =...
April 4, 2008 at 1:38 am
If you have a backup (including log backups) restore the database and logs. Otherwise:
Start up SQL Server. The database will not recover correctly. Then detach the database,...
April 4, 2008 at 1:21 am
Thanks for confirming that. That's another good reason for fully-qualifying column names.
I had also noticed the foobar thing myself and agree it seems like a sope issue in the...
April 3, 2008 at 7:31 am
JohnG (4/3/2008)
April 3, 2008 at 7:02 am
Have a look here...http://www.sqlservercentral.com/articles/Test+Data/61572/
That should help you get what you're looking for.
April 3, 2008 at 2:30 am
Here's another good reason why not to use IN:
Run this on the AdventureWorks database in SQL 2005:
begin tran
delete Sales.SalesOrderDetail where SalesOrderId in (select SalesOrderId from Doctor)
rollback tran
Whoops! You've just...
April 3, 2008 at 1:56 am
Viewing 15 posts - 196 through 210 (of 683 total)