Viewing 15 posts - 826 through 840 (of 1,271 total)
That's what I would do. I would store the value as a datetime or smalldatetime and then use a persisted computed column for the integer value. Like so:
January 5, 2007 at 11:16 am
In this respect, Joe and I are in absolute agreement.
January 5, 2007 at 10:56 am
And how would you start the job from TSQL on the remote server?
By executing sp_startjob using the 4 part name.
January 5, 2007 at 2:58 am
You are correct, Phil. That would be less confusing.
January 5, 2007 at 2:55 am
The key is that it thinks the user account is Null. Tell the user to reboot their machine. In most cases I have encountered this resolves the issue. If not,...
January 4, 2007 at 11:25 pm
Sergiy is almost correct. Null does not equal 0 and Null does not not equal 0. That's why we use "Is Null" and "Is Not Null" instead of "= Null"...
January 4, 2007 at 11:23 pm
CTE = Common Table Expression.
There is no equivalent functionality in SQL 2000. If you post the actual view statements, maybe we can help.
January 4, 2007 at 11:17 pm
Be aware that the Use statement will only apply to the dynamic query being run.
January 4, 2007 at 11:14 pm
Look up "XML bulk load [SQL Server]" in Books online. Bulk load the XML document into a table and then use sp_XML_preparedocument.
January 4, 2007 at 11:12 pm
Don't use "getdate() - 30". Use the DateAdd() function.
January 4, 2007 at 10:57 pm
Post your code where you call the procedure. You're not calling it right.
January 4, 2007 at 10:55 pm
No. You know how to set up a view locally where the user has permission to the view but not the table(s) right? Do that and then on the remote...
January 4, 2007 at 10:52 pm
Use the 4 part name: [Server].[Database].[Owner].[Procedure]
Exec MSDB4.MyDatabase.dbo.MyProcedure
January 4, 2007 at 10:27 pm
You seem to be taking this very personal. I'm not sure what that's about, but I'm sure it's nothing that a few hours on a couch can't resolve.
Yes, we use...
January 4, 2007 at 2:16 pm
I've never tried that approach though i have done the opposite (with procedures, not triggers) that would only run if the calling user was logged in with my SQL account...
January 4, 2007 at 12:49 pm
Viewing 15 posts - 826 through 840 (of 1,271 total)