Viewing 15 posts - 136 through 150 (of 249 total)
The view is returning data when i query it. Please advice, how do i do finer checks?
August 2, 2022 at 10:00 pm
I modified this code:
SELECT * FROM [dbo].[fn_GetSummaryReport] (
<@pStartDate, date,>
,<@pEndDate, date,>)
to
SELECT * FROM [dbo].[fn_GetSummaryReport] (
'2022-0628','2022-07-28') ?
It returned nothing, no matter how far back i changed the date.
August 2, 2022 at 9:45 pm
@JeffModenI What is the correct way in testing a view? did post the view's code
/****** Object: UserDefinedFunction [dbo].[fn_GetSummaryReport] Script Date: 2022/08/02 17:34:57 ******/SET...
August 2, 2022 at 3:36 pm
I tried the code you gave:
/****** Script for SelectTopNRows command from SSMS ******/
CREATE VIEW [dbo].[vw_UsageReportCached]
AS
SELECT *
FROM [dbo].[cacheUsageLogbook]
WHERE
1=1
AND RegNumber NOT IN (SELECT le.RegNumber
...
August 2, 2022 at 3:35 pm
I tested the view and found that the columns in question does not contain any data, no matter what date range i choose. I also found that table 'auditLevyBreakdown' contains...
August 2, 2022 at 3:07 pm
CREATE VIEW [dbo].[vw_UsageReport]
AS
SELECT r.TransactionDateTime,
r.ReceivedFromStorageUnitNumber,
r.QuantityReceived,
r.TypeOfVehicle,
...
July 30, 2022 at 5:42 pm
Account Owner & Type would be the columns in the Master Data i compare with my other data.
July 24, 2022 at 5:23 pm
Will Cast or Convert only convert for the query or update my data types?
April 20, 2022 at 1:04 pm
🙂 Yes, it did work. I was just looking at the column that i want the change to be in. Didn't see a new column was created.
Thank you.
March 28, 2022 at 8:18 pm
I would like to split Event column based on data type as shown in Data type column.
USE [IT]
GO
/****** Object: Table [dbo].[Journey_Event_Value$] Script Date: 2022/03/28 21:15:30 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE...
March 28, 2022 at 7:21 pm
Can an aggregate column serve as a primary key?
March 21, 2022 at 7:16 pm
They are not unique.
March 18, 2022 at 11:30 am
one -to-many or one-to-one?
March 16, 2022 at 7:49 pm
I consider my CM Data table to be my fact table. What would my relationship cardinality be for Store detail and Zip code to Fact table?
March 16, 2022 at 6:29 pm
Viewing 15 posts - 136 through 150 (of 249 total)