Viewing 15 posts - 2,311 through 2,325 (of 8,731 total)
Here's my suggestion:
WITH CTE AS(
SELECT pp.id AS pay_period_id,
pr.employee_no,
...
August 11, 2016 at 11:15 am
Everything that changes data in a database writes to trans log.
You might have some options to copy the table, but answer Eirikur's questions so we can have more details.
August 11, 2016 at 11:04 am
Grant Fritchey (8/11/2016)
That guy is really lazy and has not written a book on 2016.
Are you sure? You better double check with him. :-D:hehe:
August 11, 2016 at 7:04 am
CREATE SCHEMA must be the only statement in the batch.
Weird enough, this is considered a single statement.
CREATE SCHEMA CLAIM
CREATE TABLE Claims( ClaimId int)
CREATE TABLE OtherTable( OtherId int)
August 10, 2016 at 12:12 pm
SQL!$@w$0ME (8/10/2016)
Thanks. Also, BCP or BULK INSERT? which is quicker and/or resource efficient?
Test 😉
Also, be aware that permissions are handled different between both options.
August 10, 2016 at 12:05 pm
SQL!$@w$0ME (8/10/2016)
Thanks Luis. Is there a better option instead of BCP for bulk load from OLTP to Azure SQL datawarehouse.SSIS?
There's no best option. You have to define it based on...
August 10, 2016 at 11:13 am
To get a specific format from a date into a file, you need to convert it to string.
It's certainly easier to format with a SQL query than with SSIS. If...
August 10, 2016 at 10:31 am
Try this option: http://bfy.tw/79bE
August 10, 2016 at 10:16 am
Phil Parkin (8/10/2016)
SQL!$@w$0ME (8/10/2016)
For bulk load from OLTP to Azure SQL datawarehouse, is this tool helpful or any other option?Thanks!
Not really helpful, because neither of these is a data file.
I...
August 10, 2016 at 10:09 am
Here's an option. You can follow Phil's advice for a possible improvement on performance.
Use MSDB
Go
Select j.name,
j.[enabled],
B.run_date as [Last_Run_Date],
...
August 10, 2016 at 10:02 am
Y.B. (8/10/2016)
August 10, 2016 at 8:29 am
whereisSQL? (8/10/2016)
Ed Wagner (8/10/2016)
TomThomson (8/10/2016)
crookj (8/10/2016)
Ed Wagner (8/10/2016)
djj (8/10/2016)
Grumpy DBA (8/10/2016)
crookj (8/10/2016)
djj (8/10/2016)
FeetFeat
Agony (of defeat)
Ecstasy
Happy
Dopey
Sneezy
Grumpy
Doc
Emmet Brown
August 10, 2016 at 8:27 am
Every output in a CASE statement should have the same type. When they don't SQL Server will try to do an implicit conversion following data type precedence.
To prevent this error,...
August 10, 2016 at 8:24 am
I haven't tested, but I've been told that it needs less resources and for that reason it run faster.
Each system has different needs, so it shouldn't be considered better or...
August 10, 2016 at 8:22 am
drew.allen (8/9/2016)
DECLARE @duration_sec INT = 1300
SELECT DATEADD(SECOND, @duration_sec, CAST('00:00' AS TIME))
This method should work for any unit of time...
August 10, 2016 at 6:58 am
Viewing 15 posts - 2,311 through 2,325 (of 8,731 total)