Forum Replies Created

Viewing 15 posts - 13,216 through 13,230 (of 26,486 total)

  • RE: script to find orphan records on single DB

    There is also the extended stored procedure xp_fileexist. Want to learn more, google or bing xp_fileexist.

  • RE: SQL SERVER WEIRD Performance problem. Please help.

    bullo (4/3/2012)


    Thank you all. I knew it was goona be a difficult post....I think that in order to pinpoint a problem there are things that should be taken for granted....

  • RE: script to find orphan records on single DB

    Lowell (4/3/2012)


    ricardo.cuevas (4/3/2012)


    Greetings. Long time lurker first time poster. BTW I love this site. Very professional and educational. I'm looking to find orphan records on a...

  • RE: Are the posted questions getting worse?

    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...

  • RE: DATEDIFF

    capn.hector (4/3/2012)


    lukebaker (4/3/2012)


    SOLVED!!

    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,...

  • RE: rebuild index sql server 2008 standard edition

    aliskumardba (4/3/2012)


    So what to do then? I am using SQL server 2008r2 Standard edition on PROD server. I can't block users while I am defragmenting indexes. Is there any option...

  • RE: Point in Time recovery of data between times

    GilaMonster (4/3/2012)


    Lynn Pettis (4/3/2012)


    Take a t-log backup, restore the last full backup to another server, then load all t-log backups using the STOPAT clause on the last t-log to recover...

  • RE: DATEDIFF

    In your sample data, I see no dates in expiry_date that are between today and 60 days from now.

  • RE: Are the posted questions getting worse?

    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...

  • RE: Help on inserting into multiple table with distinct columns simultaneously

    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),

    ...

  • RE: DATEDIFF

    lukebaker (4/3/2012)


    I'm using visual studio 2010 with sql server 2008 express this might be why??

    No.

  • RE: Point in Time recovery of data between times

    DBA_SQL (4/3/2012)


    The data has got deleted with in the time log as mentioned earlier (20 mins) interval. TX log has not backed up. So, how can we get back the...

  • RE: Help on inserting into multiple table with distinct columns simultaneously

    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),

    ...

  • RE: DATEDIFF

    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. ...

  • RE: Syntax help on how to change a column from asc to desc?

    D-SQL (4/3/2012)


    Yes that is correct one column in the index. This should have been set these way before. We are changing a few thinks to use RANK and it's going...

Viewing 15 posts - 13,216 through 13,230 (of 26,486 total)