Viewing 15 posts - 1 through 15 (of 19 total)
FYI, the third one errors out:
Select 'XXX' + 'YYY'
Select 'XXX' + + 'YYY'
Select 'XXX' + - 'YYY'
So with the first two, the + sign is doing concatenation, not math. ...
February 4, 2016 at 3:12 pm
Vik -
In my experience the success of a data warehouse project for reporting purposes is greatly improved if the client can provide access to what I think of as a "super...
November 22, 2004 at 3:25 pm
Try dividing your billed amount by the number of procedure records...
Select t1.AccountNumber
, t1.originalBilledAmount / t3.ProcRecords As AdjBilledAmt
, tbl_PerformedProcedure.PatientPrimaryKey
, PhysicianID
, t2.cptcode
From tbl_BillingMaster t1
Inner Join tbl_PerformedProcedure t2
On t1.PatientPrimaryKey = t2.PatientPrimaryKey
Inner...
March 23, 2004 at 9:41 am
I tried the following using two tables each of which have a non-clustered index on the date field. I was suprised to see that the estimated cost for the first query (using Antares686's...
February 25, 2004 at 9:20 am
Thanks for clearing this up for me - a good learning experience.
regards
k2
January 26, 2004 at 10:47 am
Interesting discussion. I’ve got a little different perspective…
My wife has a two year nursing degree, and had two executive level positions with large health care institutions. In each...
December 17, 2003 at 8:51 am
Try here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dtsprog/dtspapps_21rn.asp
Or you can search around here:
regards
k2
December 16, 2003 at 12:03 pm
If you need to you can create DTS packages with VBA and run them from your app. Saving your package as a visual basic file will give you all...
December 15, 2003 at 9:30 am
I remember having this problem too - particularly when using dates. My guess at that time was that "knowing" the date value allowed the query optimizer to do something...
December 5, 2003 at 8:50 am
Can someone point me to a good reference describing (dumbed down) bitwise operators such as ^ and giving examples of their use?
thanks
k2
November 26, 2003 at 8:51 am
Thanks, noeld, I'll talk to my DBA about linking to the Access database - and thanks for pointing out "sp_MSforeachTable" - very cool!
regards
k2
November 24, 2003 at 8:57 am
Thanks for your reply, JR. I've tried using the default "Admin" login with a blank password, as well as leaving both blank. No luck.
Unfortunately the Access...
November 11, 2003 at 8:37 am
Science fiction readers will remember TANSTAAFL - "There ain't no such thing as a free lunch".
k2
October 29, 2003 at 8:46 am
As an aside, I just discovered a cool function yesterday that could be useful in queries that look at day of week: the DateName function. Rather than use...
October 28, 2003 at 8:22 am
One approach may be to find out what the other vendor (for your bosses app) says about having to share a server with SQL Server?
k2
September 10, 2003 at 9:10 am
Viewing 15 posts - 1 through 15 (of 19 total)