Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: Functions in Access not supported in SQL

    Why don't you look into Report Services they use a format called Matrix to satify the Pivot Logic.

    we created a pivot table stored Procedure as follows :

    Hope this helps

    /*

    Pivot Table stored procedure

    Description:

    Generates...

  • RE: Hot to find out when a database was last updated or backed up

    I use the following query to findout if my backups have worked :

    SELECT  B.name as Database_Name, ISNULL(STR(ABS(DATEDIFF(day, GetDate(),MAX(Backup_finish_date)))), 'NEVER') as DaysSinceLastBackup,

    ISNULL(Convert(char(10), MAX(backup_finish_date), 101), 'NEVER') as LastBackupDate

    FROM master.dbo.sysdatabases B LEFT OUTER...

  • RE: gotta be an easier way...

    I use the following code for this situation :

    USE master

    EXEC sp_addumpdevice 'disk', 'BackupDB',

       '\\dbsrv01\f$\Testdatabase\BackupDB'

    BACKUP DATABASE Take2 TO BackupDB

    -- Restore the files for MyNwind2_Test.

    RESTORE DATABASE Test

       FROM BackupDB

       WITH RECOVERY,

       MOVE 'LogicalFilename'...

  • RE: Call Excel functions from SQL stored procedure

    Have you tried using Report Servises. Thats if you can afford .net 2003. I have read it is possible to interact with excel.

  • RE: Crosstab query in Sql

    we use the following sp to

    accomplish this :

     

     

     

     

     

    /*

    Pivot...

Viewing 5 posts - 1 through 5 (of 5 total)