Viewing 15 posts - 121 through 135 (of 152 total)
laurie-789651 (3/9/2015)
If you post sample data so people can just run it & see the problem, you will get plenty of replies.See this:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Hi Laurie...can you let me know how I...
March 9, 2015 at 7:56 pm
I moved the code from here...up to original post.
March 9, 2015 at 9:53 am
ChrisM@Work (3/9/2015)
JOIN dbo.PeriodDefinition AS pd
ON CAST(t.dt_close_time AS time) BETWEEN CAST(pd.dt_start AS time) CASE when i_period_definition_id...
March 9, 2015 at 9:41 am
chef423 (3/8/2015)
March 9, 2015 at 9:37 am
Here is how I resolved this. Basic. Thanks for all the responses, I love this forum, always friendly folks willing to share knowledge.
SELECT
...
March 6, 2015 at 12:34 pm
Please take the time to read the first article I have referenced below in my signature block. What you have posted isn't what I requested. Posting a...
January 28, 2015 at 10:52 am
Ok, here is the Transaction table DDL:
So I pull Customer 'House Accounts' from this table via the 's_credit_tran_type' field. There are 2 fields in the Customer table that are used,...
January 27, 2015 at 3:58 pm
If I proved the database (.bak) file can someone assist here?
I still cannot get this to work. And I am past my deadline...
The problem is the language not my knowledge...
January 27, 2015 at 12:38 pm
SELECT c.cust_fullname AS Name, c.cust_membership_id AS Account, t.c_amount AS Amount, 'EN' + CAST(t.i_ticket_id AS varchar(12)) AS Doc_Num,
...
January 15, 2015 at 4:24 pm
Understood...thanks!
January 15, 2015 at 4:05 pm
steve.tarry (1/15/2015)
--DROP TABLE #WorkTable;
SELECT RowNum = ROW_NUMBER() OVER (PARTITION BY i_ticket_id ORDER BY dt_when)
...
January 15, 2015 at 10:05 am
Well, with this code:
SELECT c.cust_fullname AS Name, c.cust_membership_id AS Account, t.c_amount AS Amount, 'EN' + CAST(t.i_ticket_id AS varchar(12)) AS Doc_Num,
...
January 14, 2015 at 7:00 pm
I just need to look at it a bit more, thanks for all the help...
I need to figure out how to query my output table....
There is no Transaction ID in...
January 11, 2015 at 11:36 pm
Jeff Moden (1/11/2015)
SELECT RowNum = ROW_NUMBER() OVER (PARTITION BY i_ticket_id ORDER BY dt_when)
...
January 11, 2015 at 11:34 pm
Jeff Moden (1/11/2015)
chef423 (1/11/2015)
Jeff Moden (1/11/2015)
How do you want to handle 58475 when the following happens?
i_transaction_id c_amount dt_when ...
January 11, 2015 at 9:29 pm
Viewing 15 posts - 121 through 135 (of 152 total)