J. R. Bennett (@jrb2971) profile picture

MS SQL & extreme metal fan

Worcester, MA
Joined May 2010
Photo by J. R. Bennett (@jrb2971)Photo by J. R. Bennett (@jrb2971)Photo by J. R. Bennett (@jrb2971)Photo by J. R. Bennett (@jrb2971)Photo by J. R. Bennett (@jrb2971)Photo by J. R. Bennett (@jrb2971)Photo by J. R. Bennett (@jrb2971)
#sqlhelp is it possible to us AAG or replication to push a table to a subscriber where those tables do not carry over the same indexes?
1
1
3
#sqlhelp what do you use to replicate data from MS SQL to Oracle? (Read only, one way) I have read MS SQL no longer supports Oracle subscribers?
1
1
#sqlhelp I'm still not sure (after googling) some routes to take for using dynamic tsql over 8,000 characters long. Does nvarchar(max) do it? can I use the text datatype? I'm working with someone's code that concatenates huge merge statements. SQL2016
1
#sqlhelp I'm trying to google for how to get a count of inserted, deleted and updated rows when using a TSQL Merge statement. I have found answers for inserted and deleted, but updated I'm having no luck. Is this possible?
3
#sqlhelp is there really no way to disable in memory data on a database if we aren't using any of that functionality? I guess I can always try to recreate the db... I can't even dbcc clonedatabase
1
does anyone use [local_loopback] in their fully qualified sql object naming? Is there any reason to? perhaps having the exec sp call come in as an anonymous or different user? #sqlhelp
#sqlhelp just a follow up to my last question. Would there be any reason why someone would wrap some select statements (no writing/updating) statements with a transaction (begin/commit)? My initial answer would be no.
1
#sqlhelp If a stored procedure is wrapped in a begin tran, try,commit,catch, rollback and no actual writing is done to a table, but only child stored procedures are being called, is it worth wrapping the main proc with that above? otherwise using cursors to read data
2
#sqlhelp is there an ssms add-in or tool to easily turn on and off ssms add-ins? I think I want to compare add-ins like sqlprompt, ssmsboost, sql complete...
1
#sqlhelp Is there a way to have SQL ignore a leading key column when it comes to statistics? (and use another column). We have a column we can't remove that has the same value in all rows (in several indexes) and causes the histogram to be useless which moves to the density ...
2
#sqlhelp in TSQL is hash the same as hashbytes? I have googled it but couldn't find a simple clear answer
1
#sqlhelp I was just curious of some of your favorite ways to handle updating a production database while the tables are constantly being access (reads).
1
1
#SnowflakeDB is there a way to reset a identity column? is there any reason why someone would use an identity column over an sequence column?
#snowflake is there a way to reset identity columns? Is there a reason why identity columns would be better than sequence columns?
#snowflake #sql #ssis #talend #jdbc #ado Hi, I'm looking for performance and compatibility in regards to SSIS and CDATA's Snowflake (ADO.net) components and Talend and it's build in JDBC connectivity to Snowflake
#sqlhelp I wonder if anyone has worked on a process to monitor queries that use much tempdb space or times when multiple processes are causing tempdb to almost fill up... And then alert someone with that information
2
#sqlhelp if someone is updating the underlying db that has a snapshot and I'm accessing the snapshot. could my read off the snapshot be blocked by the write to the underlying database? I'm guessing my read just don't go through to the underneath db, but to the snapshot
1
#powershell does anyone have experience with finding free space on a file share? this code isn't bringing back the right value (in mb) it seems: $share="\\SERVER\SHARE";$free=(new-object -com scripting.filesystemobject).getdrive($share).availablespace;[decimal]$free1=$Free/1000
#sqlhelp I really want to get docker for windows up with the lastest SQL 2017 windows image. I keep getting issues with not authorized trying to start referencing that image. I do have a docker account
2