Viewing 15 posts - 286 through 300 (of 1,999 total)
an alternative (if you can't use the view because it points to a linked server) is to use transactional replication and update the table in small chunks, rather than a...
February 14, 2020 at 2:32 pm
Sorry to jeff, but i'm going to make light of the split functionality, it ends up in a function that goes RBAR - Use a TVP instead
again -...
February 14, 2020 at 1:49 pm
Sorry to jeff, but i'm going to make light of the split functionality, it ends up in a function that goes RBAR - Use a TVP instead
again - sorry jeff,...
February 14, 2020 at 11:08 am
It’s interesting to think about developer time when it comes to the top two results: the “freeing up developer time” isn’t simply about allowing them time to code more changes which are delivered more...
February 14, 2020 at 9:36 am
I think you hit the nail on the head when you used the word MERGE - are you familiar with the command?
February 14, 2020 at 9:00 am
my 2 cents on this - why are you truncating a table and replacing it with the view data. - why not just reference the view?
February 14, 2020 at 8:54 am
I did not know this... are there any ms documents around it?
February 14, 2020 at 8:49 am
I assume that you are using one of the sql spatial types for this ? if so then make sure you are using the geography type and not the geometry...
February 13, 2020 at 2:24 pm
I normally use ROWNUMBER() over (order by x partition by y) - usually because It involves finding the first order of the day for that product type (partition by product...
February 13, 2020 at 12:19 pm
##csvtemp only contains 6 lines.. so it is not big...
set @sql = 'bcp "SELECT Col1,Col2,Col3,Col4,Col5,Col6,Col7,Col8,Col9,Col10,Col11,Col12,Col13,Col14,Col15,Col16,Col17,Col18,Col19,Col20,Col21,Col22 FROM ##csvtemp" queryout '+@processedFolderLocation+'/"'+@csvFileName+'" -c -d ' + DB_NAME() + ' -t, -S '+...
February 13, 2020 at 8:40 am
you don't have to restart the server, you can just run "kill 1154" (in this example)
we would need to see both proc calls, but I suspect that since you are...
February 12, 2020 at 10:05 am
Sometimes SQL Server underestimates the work you’re about to do, and doesn’t grant you enough memory. Say you’re working with a table variable, and SQL Server only estimates it’ll find one...
February 12, 2020 at 8:50 am
email the webmaster at SQLservercentral
February 11, 2020 at 2:50 pm
Answer: Don't have the systems override the driver. Have them inform the driver instead. Then they can learn from the driver and eventually, perhaps, they'll know enough to be...
February 11, 2020 at 2:44 pm
then get someone to PM you and verify that you got an email. I smell a virus/malware somewhere
February 11, 2020 at 1:31 pm
Viewing 15 posts - 286 through 300 (of 1,999 total)