Viewing 15 posts - 4,741 through 4,755 (of 15,381 total)
GBeezy (5/28/2014)
I have done this and some rows return a 32 and return a 49. I do apologize as I am not sure what this is telling me, if...
May 28, 2014 at 9:01 am
crookj (5/28/2014)
Ed Wagner (5/28/2014)
BWFC (5/28/2014)
GeeseHunting
:Wabbitt!
Duck!
May 28, 2014 at 8:56 am
GBeezy (5/28/2014)
I have a field in AX that is NVARCHAR(30). Sometimes the value has 5 extra characters at the end and sometimes, it does not. I have...
May 28, 2014 at 8:32 am
eccentricDBA (5/28/2014)
SQLRNNR (5/28/2014)
jcrawf02 (5/28/2014)
Sean Lange (5/28/2014)
SQLRNNR (5/28/2014)
crookj (5/28/2014)
WotD - swollen (wrist)allergic
bee sting
epinephrin
Pen
sword
mighty
May 28, 2014 at 8:27 am
ronan.healy (5/28/2014)
this is how my table is as of right now
FundCodeACCOUNTPERIODClassNameNAVSharesOutstanding
IL0131/12/2013Class A GBP23704633.79
IL0131/12/2013Class A GBP20143018.57
IL0131/12/2013Class I2 GBP252178460.2
IL0131/12/2013Class I2 GBP210634139.7
IL0131/12/2013Class I2 EUR...
May 28, 2014 at 8:21 am
mattech06 (5/28/2014)
SELECT
b.TransDate, b.TransType, b.SortCode, b.AccNum, b.TransDesc,
(ISNULL(b.Debit, 0) + ISNULL (b.Credit, 0)) as Amount,
ISNULL(r.OrthoID, 999) as OrthoID
ISNULL(t.PatientID, 0) as PatientID
FROM
EPSBankTransactions b...
May 28, 2014 at 8:17 am
mattech06 (5/28/2014)
This is the working vers, not my sample from above and includes a ref table as well and there's a bit...
May 28, 2014 at 8:01 am
Hi and welcome to the forums. In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form...
May 28, 2014 at 7:57 am
nimalatissa (5/27/2014)
May 28, 2014 at 7:53 am
SQLRNNR (5/28/2014)
crookj (5/28/2014)
WotD - swollen (wrist)allergic
bee sting
May 28, 2014 at 7:45 am
You could this without needing a join and windowing functions. Since you have two queries that are both just an aggregate a cross apply will make this a lot simpler.
SELECT...
May 28, 2014 at 7:33 am
harsimranjeetsinghwasson (5/28/2014)
declare @dteTo Dateset @dteTo = CAST(GETDATE() AS DATE)
TA DA
DONE!! :w00t: 🙂
Or even simpler.
declare @dteTo Date
set @dteTo = GETDATE()
May 28, 2014 at 7:23 am
sachin.sakpal2009 26397 (5/28/2014)
SET NOCOUNT ON
CREATE TABLE #query (query NVARCHAR(MAX), id int)
DECLARE @STR_IP NVARCHAR(MAX)
DECLARE @T_NAME NVARCHAR(MAX)
DECLARE @T_NAME1 NVARCHAR(MAX)
DECLARE @C_NAME NVARCHAR(MAX)
DECLARE @T_CATALOG NVARCHAR(MAX)
DECLARE @T_SCHEMA NVARCHAR(MAX)
DECLARE @a NVARCHAR(MAX)
DECLARE @a_Copy NVARCHAR(MAX)
DECLARE @Cnt Int
DECLARE @Result...
May 28, 2014 at 7:13 am
Nice job posting ddl and consumable data. I just don't have a clue what you want to do with this. We have two tables of data (AppointmentForNextTwentyDays_InProcess and DoctorScheduleFortoday)....
May 28, 2014 at 7:11 am
SQL_ME_RICH (5/27/2014)
We do not deal with...
May 28, 2014 at 7:00 am
Viewing 15 posts - 4,741 through 4,755 (of 15,381 total)