Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Help with Database Query

$
0
0

our finance department using a budgeting software.

I wasn't involved in this project till this point. My manager handled it by himself and he is sick today so they requested me to look into the issue.

Issue:

Our Accounting database (database1) is in Server1. the Budgeting database (Database2) is in Server2.

They are trying to run a query from the Database2 (and said this query was working until now and started giving issues) to execute some results from Database1.

Below is the Query.

Select ACCTID as [Account Number],

right(left( [ACCTID],10),4) as AccountKey,

right(left( [ACCTID],13),3) as CostCentreKey,

JRNLDATE as Date ,

JNLDTLDESC as Description,

JNLDTLREF as Reference,

BATCHNBR as [Batch_Entry],

TRANSAMT as Amount,

FISCALYR as [F/Year],

FISCALPERD as [Period],

FISCALYR + FISCALPERD as ProphixPeriod,

SRCELEDGER as Source

FROM...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>