Forum Replies Created

Viewing 15 posts - 196 through 210 (of 628 total)

  • RE: Good practice for accounts to do DBA jobs

    In most cases the Job owner I do not beleive would even need any access to any DB's as long as it is a valid SQL login. We use...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: sql help in where clause.

    that is your problem then try @activityStatusID='1'

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: sql help in where clause.

    what type is @ActivityStatusID defined as?

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: sp error

    I am not going to try to find line 97 in that but based on the error it is likely you have a subquery in the where cluase of one...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: sql help in where clause.

    this should do the trick I would think.

    case

    when @ActivityStatusID = 1 then ACS.[Description] = 'Completed'

    else ACS.[Description] <> 'Completed'

    end

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: sql help in where clause.

    is @ActiveStatusID a parameter or a variable. and is it defined in the stored procedure. What you have look good to me other than you need to add...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Good practice for accounts to do DBA jobs

    we make all jobs Etc. Owned by sa. At the time of creation you simply change to owner to sa. That is all that is required.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Help With Hotel Queries

    SELECT g_name, villa_type, COUNT(*) FROM guest_reservation, reservation

    WHERE guest_reservation.confirm_no = reservation.confirm_no AND res_checkout_date = ‘insert date for when you would want to check out here’ GROUP BY villa_type;

    you have a...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: default parameter in report

    I sounds like you are looking for a range of dates. you would have to define a seperate parameter in the report to store the second date. set...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: error whilecreating the procedure

    you need a + on both sides of the variable.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: error whilecreating the procedure

    what is the error message?

    you would likely what something like this.

    CreateDate> '''+convert(varchar(20),@startdate)'''

    you would need three single quotes so that the resulted string would include the string date in single...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: SSIS Folder Watcher and FTP upload

    In my humble oppinoin I would suggest that SSIS is likely not the best way to handle this process.

    SSIS is not a file management system. While SSIS does have tools...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Package fails when you try to import data from DB to Flat file

    Before anyone could help, you need to provide additional information. Is there an error message? If so what is the error message? What are the elements of the package?...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: error whilecreating the procedure

    you need to cast your dates as a varchar in order to concatenate with a string.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Database Size

    I would shoot as large as possible if they are going to make you predict a DB size based on such limited information. I would also clarify over and over...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

Viewing 15 posts - 196 through 210 (of 628 total)