Viewing 10 posts - 1 through 10 (of 10 total)
However, when I run the command DECLARE @myDate DATETIME2
SET @myDate = '1752-09-09'
PRINT @myDate in SQL Server 2008 R2, I do actually get results:
1752-09-09 00:00:00.0000000
January 25, 2011 at 9:21 am
Code as indicated does not work for me either.
By adding a c:\mssql folder (did not have one on my system) AND changing the the data file folder to c:\mssql, it...
June 10, 2009 at 1:58 pm
This question is an exact copy and paste for BOL (ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_1devconc/html/136b4545-fd48-412f-8163-fadc3a235d36.htm). And according to BOL, the 2 statements are the same.....
September 23, 2008 at 12:46 pm
Using my DOB, None of the 3 technically gave the correct answer.
WHen I ran it my DOB was 4 days in the future
Setting my DOB to 2 months, 4...
March 14, 2008 at 10:34 am
Thanks all for your suggestions, This give me alot more to go on than I originally had.
brian
April 15, 2005 at 4:42 am
EM uses the sp_MSdependencies stored proc. I'm testing with that now.
Thanks everyone
Brian
April 14, 2005 at 9:57 am
Thanks Kenneth,
That is part of the reason I was looking for something (sysdepends as Chris suggested, should work great).
Unfortunately, the code this client has written has less than stellar documentation....
April 13, 2005 at 5:04 am
Thanks Chris, that's what I was looking for. I could not remember where this info was stored.
brian
April 13, 2005 at 5:01 am
scporich's solution is much better, plus it keeps you out of the system tables.
Brian
March 24, 2004 at 6:02 am
HI,
As long as the proc is not compiled with encryption (SQL Server) you can select text from the syscomments system table.
Select syscomments.text
from sysobjects,syscomments
where sysobjects.id = syscomments.id
and sysobjects.type = 'p'
and sysobjects.name...
March 24, 2004 at 4:26 am
Viewing 10 posts - 1 through 10 (of 10 total)