Viewing 15 posts - 8,341 through 8,355 (of 8,753 total)
rwitt 95744 (5/7/2014)
Recovery model for both is "Full". Not quite sure what you mean on the other setting.
That is the transaction isolation level, configurable ie. within the connection parameters. Simplest...
May 7, 2014 at 9:10 am
Raghavendra Mudugal (5/7/2014)
Once you create a memory-optimized filegroup, you can only remove it by dropping the database. In a production environment, it is unlikely that you will need to remove...
May 7, 2014 at 7:02 am
J Livingston SQL (5/7/2014)
vigneshkumart50 (5/7/2014)
like this'$ '+REPLACE(CONVERT(VARCHAR(32),cast(round(Total_Amount,2)/12 as MONEY),1), '.00', '') as Monthly_Amount,
why CAST as MONEY and then REPLACE....couldn't you just cast as INT?
That would be implicit rounding:cool:
May 7, 2014 at 4:35 am
More like this
'$ '+REPLACE(CONVERT(VARCHAR(32),cast(round((Total_Amount/12),2) as MONEY),1), '.00', '') as Monthly_Amount,
😎
May 7, 2014 at 4:13 am
martin.whitton (5/7/2014)
Eirikur Eiriksson (5/6/2014)
I think Andy has been a tiny bit naughty:-D
Is a "tiny bit" a "bit" that will only store zeroes? 😀
My personal feeling is that "bit" is not...
May 7, 2014 at 4:01 am
Ove.Kernell (5/7/2014)
If I have a table
CREATE TABLE [dbo].[logg](
[Id] [bigint] IDENTITY(1,1) NOT NULL,
[Details] [varchar](MAX) NULL)
insert logg (Details) values('')
insert logg (Details) values(null)
Will both statements above access only a single page (as...
May 7, 2014 at 3:53 am
vigneshkumart50 (5/7/2014)
Hi,I have these two columns
select
'$ '+REPLACE(CONVERT(VARCHAR(32),cast(round(Total_Amount,2)as MONEY),1), '.00', '') as Total_Amount,
'$ '+REPLACE(CONVERT(VARCHAR(32),cast(round(Monthly_Amount,2)as MONEY),1), '.00', '') as Monthly_Amount
from Finance
Now Monthly_Amount column should have calculated values like Total_Amount/12
Is this...
May 7, 2014 at 3:31 am
You can use a delete trigger, output the deleted into a table. Easy to use any of the security functions (CURRENT_USER, ORIGINAL_LOGIN(), SESSION_USER, USER, USER_NAME(), SYSTEM_USER) as a column default...
May 7, 2014 at 1:54 am
You are missing the increment of the counter, the code never hits it, improved code below
😎
--Set Variables for randomizing Information, et al
DECLARE @localChestTier int, @ItemLimit int, @counter int,@ItemCounter int
SET @counter...
May 7, 2014 at 1:02 am
SSIS + Script Task
or
Load to a table (SSIS/bcp/openrowset) and. search in SQL
or
Powershell...
or
External application
or
batch file + sqlcmd
or
....
😎
May 7, 2014 at 12:42 am
Quick question, is the recovery model the same and is there any difference in the connections, ie. isolation?
😎
May 7, 2014 at 12:19 am
KGJ-Dev (5/6/2014)
Hi Eirik,Am waiting for you Gentle Man. Any hope ?
This is a modification to Chris's code, just set the values for start id and record number and off it...
May 6, 2014 at 10:46 pm
May 6, 2014 at 3:10 pm
May 6, 2014 at 2:49 pm
Viewing 15 posts - 8,341 through 8,355 (of 8,753 total)