Viewing 15 posts - 46 through 60 (of 249 total)
I did this "And what I usually do is change the SELECT <column list> to a SELECT * or SELECT COUNT(*). The reason I do this is so that I...
September 7, 2023 at 6:40 pm
The SSIS package is simple. I am getting the data loaded from SAP using XTRACT IS add on in SSIS.
September 7, 2023 at 5:55 pm
I do create the table first in MariaDB as seen in the screenshot above.
Yes, I connect to tables.
June 1, 2023 at 4:49 pm
I created a simple pipeline in SSIS, moving data from a source like SQL Server or a flat-file. I am having trouble when I am connecting to the destination table...
June 1, 2023 at 2:09 pm
Even when i create the table first in Mysql/MariaDB it gives the error:
-- Create the sample database
CREATE DATABASE testdb;
-- Switch to the test database
USE testdb;
-- Create the...
June 1, 2023 at 1:12 pm
Thank you. The column names were also a problem. I corrected it.
SELECT
p.name AS [Plan],
COUNT(s.ID) AS [Count],
SUM(t.amount) AS [Amount ($)]
FROM
...
May 1, 2023 at 4:32 pm
Thank you for the assistance. Here follows the DDL n DML
-- Create Transactions Table
CREATE TABLE [dbo].[Transactions](
[id] [int] IDENTITY(1,1) NOT NULL,
[transaction_date] [datetime] NOT NULL,
[primary_account_id] [int] NOT NULL,
[group_id] [int]...
April 19, 2023 at 2:29 pm
I believe the transactions table must be used instead of accounts.
April 19, 2023 at 11:34 am
If your intention is not to help me, keep your negative comments and let those who want to help me, assist.
Dont, understand why the "trolls" on here want to chip...
April 18, 2023 at 5:49 pm
USE [Kazang]
GO
/****** Object: StoredProcedure [dbo].[AppendPrimaryAccountGroupTracking] Script Date: 2023/04/18 18:16:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- Create the stored procedure
CREATE PROCEDURE [dbo].[AppendPrimaryAccountGroupTracking]
...
April 18, 2023 at 4:18 pm
This code:
USE [Kazang]
GO
DECLARE@return_value int
EXEC@return_value = [dbo].[AppendPrimaryAccountGroupTracking]
@TransactionDate = '2023-01-01'
SELECT'Return Value' = @return_value
GO
gives me an output of:
April 18, 2023 at 2:38 pm
I have created:
USE [Kazang]
GO
-- Create the dimensional table for group tracking
CREATE TABLE [dbo].[PrimaryAccountGroupTracking](
[id] [int] IDENTITY(1,1) PRIMARY KEY,
[primary_account_id] [int] NOT NULL,
[group_id] [int] NOT NULL,
[start_date] [date] NOT NULL,
[end_date] [date]...
April 18, 2023 at 2:13 pm
What does this insert script look like?
April 17, 2023 at 3:55 pm
Viewing 15 posts - 46 through 60 (of 249 total)