Forum Replies Created

Viewing 15 posts - 1 through 15 (of 21 total)

  • RE: execute a pass through

    the pass through query in access is execute spfiscalsocialstatsnotsatorholidays forms!f_main!txtbegindate, forms!f_main!txtenddate

    this is to open the stored procedure in sql server whose code is

    ALTER procedure [dbo].[spFiscalSocialStatsNotSatOrHolidays]

    @startdate date,

    @enddate date

    as

    select member_number from member_time...

  • RE: execute a pass through

    no it gives the identical same error as described above.

  • RE: aggregate select

    that did the trick did not have enough parens.

    thanks

  • RE: dateadd in where clause

    thanks that works.

  • RE: query using time

    Thank you. This seems to be the trick. Now to get the query to give info that the manager wants.

  • RE: query using time

    USE [BtcSystem]

    GO

    /****** Object: Table [dbo].[member_time] Script Date: 01/10/2012 16:11:15 ******/

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER ON

    GO

    CREATE TABLE [dbo].[member_time](

    [id] [int] IDENTITY(161657,1) NOT NULL,

    [member_number] [int] NULL,

    [date] [datetime] NULL,

    [time_in] [datetime] NULL,

    [time_out]...

  • RE: query using time

    the datatype is datetime in the sql table. Thank you for your responses.

  • RE: locked bak file

    Ok I stopped sql services and the file became unlocked. I deleted it and then restarted sql services and backed up my live transaction logs and another file by...

  • RE: locked bak file

    no it does not have a green arrow by it. if i want to do a point in time in the script would it look like STOPAT = 'mm/dd/yyyy...

  • RE: locked bak file

    Ok thank you for all of your help. This script

    RESTORE DATABASE [LOS_DocumentationSQLTest2] FROM DISK = N'C:\data\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\backup\BtcSystem_backup_2011_12_23_190003_9638931.bak' WITH FILE = 1, NORECOVERY, NOUNLOAD, ...

  • RE: locked bak file

    i restore from a backup with recovery and then i try to restore from transaction log file back up which i named transactionLogBackup.bak. It is that file that is...

  • RE: locked bak file

    ok i restored the dbase from backup and then tried to restore from my transaction log backup and it is still saying that the file can not be processed because...

  • RE: locked bak file

    yes with norecovery and how do i check if it is a part of log shipping

  • RE: restore from transaction logs point in time

    Ok thank you. turns out i have not backup transaction logs. so i did that and now have a transaction file to restore from but when i try...

  • RE: restore from transaction logs point in time

    yes it was

Viewing 15 posts - 1 through 15 (of 21 total)