Viewing 15 posts - 106 through 120 (of 122 total)
@steve-2: What would you do regarding the column order, when you are facing a CREATE OR ALTER <table> statement and the column order differs from the real. Recreating...
November 29, 2016 at 8:26 am
djackson 22568 (11/29/2016)
I never have an issue with this. A simple "if exists" tells me if I need to delete something before running create.
Yes, and doing this you drop...
November 29, 2016 at 8:16 am
I doubt, that an ALTER OR CREATE <table> would be used commonly, particularly since a CREATE table will usually need some indexes, FKs, CHECK CONSTRAINTs and some other stuff too.
Furthermore...
November 29, 2016 at 5:02 am
Who do you blame for the lack of snow, Obama or Trump :hehe:?
PS: Happy holiday.
November 24, 2016 at 12:48 am
van.yancey (9/16/2016)
I've only used it on Azure SQL Datawarehouse, but I believe the Polybase feature in SQL Server 2016 solves the problem of BULK EXPORT.
But it would be a little...
September 17, 2016 at 2:10 am
Indianrock (9/16/2016)
September 16, 2016 at 8:41 am
BULK INSERT? Or are you lamenting the absence of BULK EXPORT?
I'm missing BULK EXPORT.
Another point: even if you can do some OS-like stuff with SQL Server, the account that runs...
September 16, 2016 at 12:40 am
I think the risk is reasonable, as long you are using an xp_cmdshell_proxy_account with minimal privileges.
On the other side it would nice, if SQL Server would provide us with more...
September 16, 2016 at 12:22 am
If he would have written a book, than he would have written it on a PC with Word or on a typewriter (if he is conservative).
I don't believe that even...
September 5, 2016 at 1:11 am
~95 km; Bonn (Germany); once a year (in June)
July 29, 2016 at 11:01 am
You are right, if I declare the year column (and the partition function) with BIGINT instead of SMALLINT the implicit convertation will work and it scans only one partition
July 11, 2016 at 6:56 am
when I have to sent passwords per email, I try to include neither the username nor the app / site that uses the password and tell the person what it...
July 11, 2016 at 3:36 am
Nice article, but
- minus point for the usage of [dbo].[udfBuildISO8601Date] (UDFs are slow); there is a built in function DATEFROMPARTS() with the same syntax, that outputs a date. If necessary...
June 10, 2016 at 9:56 am
I'd say, that - depending on which index it uses and / which other sorts it has to do / when you are MERGE joining / going parallel / are...
June 7, 2016 at 12:36 am
... Furthermore without the ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW
it would be slow because with the default RANGE-parameter it has to spill out to TempDB.
June 6, 2016 at 1:24 am
Viewing 15 posts - 106 through 120 (of 122 total)