Viewing 15 posts - 1,291 through 1,305 (of 6,036 total)
Steve Jones - SSC Editor (7/15/2016)
_____________
Code for TallyGenerator
July 24, 2016 at 6:22 pm
There is dbid column in sys.dm_exec_sql_text
_____________
Code for TallyGenerator
July 21, 2016 at 10:47 pm
This should be faster (if your WHERE clause indeed includes first columns from the index where Date is mentioned):
SELECT TOP 1 @MaxDate = Date FROM Table1
WHERE {Conditions on init...
_____________
Code for TallyGenerator
July 21, 2016 at 9:44 pm
rathimittha.mb (7/21/2016)
Thank you Grant. I guess I'l need to figure out a way to get delta(changed) data rather than the entire setThanks Again !!
I'd suggest triggers on the tables FOR...
_____________
Code for TallyGenerator
July 21, 2016 at 5:11 pm
rathimittha.mb (7/20/2016)
I am using this query to build a small datawarehouse. And this query is supposed to run 3 times a day....
Hence, the reason for so many a rows.
Then, there...
_____________
Code for TallyGenerator
July 20, 2016 at 11:38 pm
Who is that poor guy who's meant to read through those 300k lines of this report?
Considering 60 lines per screen it's 5 thousand of screens to look through.
And if it's...
_____________
Code for TallyGenerator
July 20, 2016 at 9:44 pm
koti.raavi (7/20/2016)
How can I check table variable in tempdb?
SELECT *
INTO #TempTables
FROM tempdb.sys.objects o
WHERE o.type = 'U'
GO
DECLARE @Table TABLE (id INT, Name NVARCHAR(50))
SELECT *
FROM tempdb.sys.objects o
WHERE o.type =...
_____________
Code for TallyGenerator
July 20, 2016 at 6:11 pm
Grant Fritchey (7/20/2016)
_____________
Code for TallyGenerator
July 20, 2016 at 6:05 pm
ionas (7/19/2016)
I am not sure I understand the idea behind. Robocopy is a copy tool. The point is how to use log shipping to SQL express versions.
You do BACKUP LOG...
_____________
Code for TallyGenerator
July 19, 2016 at 5:38 pm
ben.brugman (7/19/2016)
That's odd.
It should not be like that.
Tempdb is normally setup to be the fastest database in...
_____________
Code for TallyGenerator
July 19, 2016 at 5:01 pm
ben.brugman (7/19/2016)
Reading of individual files is again done using xp_cmdShell.
After that the file is parsed into independend fields.
This involves splitting the string...
_____________
Code for TallyGenerator
July 19, 2016 at 4:34 pm
ionas (7/19/2016)
Log shipping is not available to SQL express editions
You can still backup and restore logs.
Just ship to other sites them using different tools, say, robocopy.
_____________
Code for TallyGenerator
July 19, 2016 at 6:45 am
July 19, 2016 at 6:42 am
ben.brugman (7/19/2016)
Sergiy (7/18/2016)
Create and delete static tables on fly is one of the worst possible ways to do things in SQL Server.Why ?
Because it's not a single-user environment.
Because a process...
_____________
Code for TallyGenerator
July 19, 2016 at 6:38 am
You better use log shipping.
_____________
Code for TallyGenerator
July 18, 2016 at 6:27 pm
Viewing 15 posts - 1,291 through 1,305 (of 6,036 total)