Viewing 15 posts - 13,216 through 13,230 (of 26,486 total)
There is also the extended stored procedure xp_fileexist. Want to learn more, google or bing xp_fileexist.
April 3, 2012 at 3:34 pm
bullo (4/3/2012)
April 3, 2012 at 3:24 pm
Lowell (4/3/2012)
ricardo.cuevas (4/3/2012)
April 3, 2012 at 3:07 pm
Evil Kraig F (4/3/2012)
Lynn Pettis (4/3/2012)
The Dixie Flatline (4/3/2012)
Lynn Pettis (4/3/2012)
Some people really shouldn't be allowed near SQL Server systems.I too resemble that remark.
Not you either, but I just saw...
April 3, 2012 at 3:05 pm
capn.hector (4/3/2012)
lukebaker (4/3/2012)
I have reformated the dates in my table and used the below query and it worked 🙂
SELECT *
FROM v_stafftrainingDetails
WHERE (expiry_Date >= DATEADD(dd,...
April 3, 2012 at 3:02 pm
aliskumardba (4/3/2012)
April 3, 2012 at 2:50 pm
GilaMonster (4/3/2012)
Lynn Pettis (4/3/2012)
April 3, 2012 at 2:18 pm
In your sample data, I see no dates in expiry_date that are between today and 60 days from now.
April 3, 2012 at 2:16 pm
The Dixie Flatline (4/3/2012)
Lynn Pettis (4/3/2012)
Some people really shouldn't be allowed near SQL Server systems.I too resemble that remark.
Not you either, but I just saw another who should be kept...
April 3, 2012 at 2:09 pm
Updated code:
ALTER PROCEDURE InsertResource
(
@ResourceName nvarchar(256),
@Description nvarchar(256),
@DirectoryPathToFile nvarchar(256),
@UploadDate datetime2(7),
@resourcestatus nvarchar(256),
@Username nvarchar(256)
)
AS
BEGIN
declare @FileType nvarchar(max),
@FileName nvarchar(max),
...
April 3, 2012 at 2:06 pm
lukebaker (4/3/2012)
I'm using visual studio 2010 with sql server 2008 express this might be why??
No.
April 3, 2012 at 2:01 pm
DBA_SQL (4/3/2012)
April 3, 2012 at 2:00 pm
IGNORE, I need to make a few more changes.
Here is my rewrite:
ALTER PROCEDURE InsertResource
(
@ResourceName nvarchar(256),
@Description nvarchar(256),
@DirectoryPathToFile nvarchar(256),
@UploadDate datetime2(7),
@resourcestatus nvarchar(256),
@Username nvarchar(256)
)
AS
BEGIN
declare @FileType nvarchar(max),
...
April 3, 2012 at 1:55 pm
lukebaker (4/3/2012)
Results are -
expiry_Date Expr1
09/12/201210/12/2012
10/11/201211/11/2012
09/12/201310/12/2013
22/10/201323/10/2013
10/12/201311/12/2013
29/08/201330/08/2013
11/01/201212/01/2012
30/10/201131/10/2011
28/10/201029/10/2010
09/02/201210/02/2012
Again, please read and follow the instructions provided in the first article I reference below in my signature block regarding asking for help. ...
April 3, 2012 at 1:44 pm
D-SQL (4/3/2012)
April 3, 2012 at 1:41 pm
Viewing 15 posts - 13,216 through 13,230 (of 26,486 total)