Viewing 15 posts - 20,926 through 20,940 (of 59,098 total)
dominic cloud (4/27/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 28, 2015 at 8:33 am
Gary Harding (4/28/2015)
Presumably they do something very similar to Eirikur's query under the hood, but with...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 28, 2015 at 8:22 am
ShuaibV (4/27/2015)
I wanted to implement the feature to send the email in HTML format from SQL. Which option will be more easy and less resource consumption? Like
sp_send_dbmail...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 28, 2015 at 8:15 am
You should see what happens when Halloween protection fails on an incorrectly written UPDATE when all of the conditions are just right. It's fairly unpredictable so nearly impossible to...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 28, 2015 at 7:40 am
Eric M Russell (4/27/2015)
Jeff Moden (4/26/2015)
The other type is probably not what most people would expect. R. Barry Young coined the phrase for these "set based loops" (which is...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2015 at 11:08 am
vikramchander90 (4/26/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2015 at 10:44 am
Gary Harding (4/27/2015)
Jeff Moden (4/26/2015)
You're seriously aware of one of the more famous Pseudo-Cursors there is... a SELECT that uses a Tally Table.
When I first saw this type of usage...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2015 at 5:37 am
kevaburg (4/26/2015)
This is my problem.
We have a database with a table that contains around 180m records. Each day a further 70k are inserted. No records are...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2015 at 10:19 pm
If it weren't so true, it actually would be funny. "Upgrade Tuesdays" seems to occur on the 1st Tuesday of each month. That Thursday after, the folks in...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2015 at 10:16 pm
vikramchander90 (4/26/2015)
Hi,Currently i do not have Primary key defined for table. But i created an index for row_no and account_id column.
Does the Row_No column have only unique...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2015 at 10:05 pm
rourrourlogan (4/26/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2015 at 7:21 pm
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
Viewing 15 posts - 20,926 through 20,940 (of 59,098 total)