Viewing 6 posts - 61 through 66 (of 66 total)
I am trying to write the query to compare yesterday's sales and previous fiscal year same day sales as following, but got error message :
Server: Msg 107, Level 16, State...
May 2, 2003 at 8:46 am
I am sorry, I didn't explain it clear. I need this column with 1 decimal point only. If the source loads more than 1 decimal point, the column has...
March 28, 2003 at 2:43 pm
Thank you Hendra, here's the scripts for all 4 table creation:
------------------------------
The MenuMixFacts:
CREATE TABLE [micros].[MenuMixFacts] (
[MmfDateKey] [int] NOT NULL ,
[MmfLocKey] [int] NOT NULL ,
[MmfMIKey] [int] NOT NULL ,
[MmfQtySold] [int] NULL ,
[MmfWasteCnt]...
March 19, 2003 at 5:16 pm
I re-create the indexed view by:
----------------
SET QUOTED_IDENTIFIER ON
SET ARITHABORT ON
SET CONCAT_NULL_YIELDS_NULL ON
GO
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
GO
SET NUMERIC_ROUNDABORT OFF
setuser N'micros'
GO
Create View vwBKCMenuMix WITH SCHEMABINDING
AS
SELECT
micros.LocationDimension.LcdStoreNum,
...
March 18, 2003 at 10:16 am
I am sorry, can you tell me how to change the data type in a view?
I end up with drop the view and re-create by
---------------------------------
Create View vwBKCMenuMix WITH SCHEMABINDING
AS
SELECT
...
March 17, 2003 at 4:21 pm
The data types of 5 columns are :
LcdStoreNum char(7),
MidMINum int,
DtdBusdate smalldatetime,
MidMiName varchar (26),
LcdEntityName varchar (50)
The script I used to create the view is :
-----------------------------------------
SELECT
micros.LocationDimension.LcdStoreNum,
micros.MIDimension.MidMINum,
micros.DateDimension.DtdBusDate,
...
March 17, 2003 at 3:06 pm
Viewing 6 posts - 61 through 66 (of 66 total)