Viewing 15 posts - 20,911 through 20,925 (of 59,072 total)
Alan.B (4/26/2015)
Over the past year I have heard some folks around here talk about a "set based loop". What's that all about? Can someone provide an example?
There are two types...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2015 at 7:14 pm
xsevensinzx (4/26/2015)
Jeff Moden (4/26/2015)
xsevensinzx (4/25/2015)
...if someone came to me and said that the database can store no logic, then it's not the end of the world.
BWAAAHAAAA!!! If someone gave...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2015 at 4:40 pm
xsevensinzx (4/25/2015)
...if someone came to me and said that the database can store no logic, then it's not the end of the world.
BWAAAHAAAA!!! If someone gave me such ridiculous...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2015 at 2:46 pm
vikramchander90 (4/26/2015)
Create Tableledger
(
row_noint,
acct_idvarchar(255),
debitnumeric(28,2),
creditnumeric(28,2),
balancenumeric(28,2)
)
row_noacct_idtran_descdebitcreditbalance
0Account1Opening BalanceNULLNULL1000.00
0Account2Opening BalanceNULLNULL500.00
1Account1SOBI0.00200.00NULL
2Account1SNP300.000.00NULL
1Account2SNP100.00200.00NULL
I need to update the balance column as running balance based on acct_id column as previous balance +...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2015 at 2:24 pm
Eirikur Eiriksson (4/26/2015)
Jeff Moden (4/24/2015)
Yeahhhh.... PoSH... NOT! 😉Surely you meant "Not posh enough":-D
😎
Don't call me "Shirley". 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2015 at 2:09 pm
Thanks for the feedback, Steve.
As for the "user" part of this, we also used similar code to create the code at the DOS level to create the AD users and...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2015 at 11:45 am
DSNOSPAM (4/24/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2015 at 3:55 pm
That's the whole idea here! 🙂
Thank you for the feedback and please post back if you have more questions on this problem. And, if the function has the word...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2015 at 3:38 pm
adam-639168 (4/24/2015)
Ideally, I'd like to avoid creating a duplicate...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2015 at 2:48 pm
Yeahhhh.... PoSH... NOT! 😉
If they're just test users that will go away right after you're done testing, then something like the following might do.
DECLARE @sql VARCHAR(MAX)
...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2015 at 2:40 pm
To be honest, the front end is storing the data incorrectly. The data should be sorted with just one IP address per row and, once the table is properly...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2015 at 2:03 pm
BSavoie (4/24/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2015 at 6:13 am
sqlguy-736318 (4/23/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2015 at 10:14 pm
Gail Wanabee (4/23/2015)
Teamwork is what works in all well implemented work environments. It has nothing to do with DevOps.
Heh... that's precisely what I'm talking about. Most people make the...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2015 at 8:52 pm
We do 100% code reviews on any and all things SQL. That includes me and I'm the DBA. I do NOT make production code or data changes without...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2015 at 8:41 pm
Viewing 15 posts - 20,911 through 20,925 (of 59,072 total)