Someone posted to #sqlhelp on Twitter, asking the following: “Wondered if anyone could enlighten me as to why ISNUMERIC(‘7d8’) returns 1?”
Sure enough, SELECT ISNUMERIC('7d8') returns a 1.
WTF? d isn’t numeric! OK, sure, if you say “seven-dee-eight” out loud …
This week at work, I noticed CPU on one server seemed pretty high. I wasn’t familiar with this particular server, but based on the applications it supported, I was expecting the server to be under-utilized. I went over to vCenter to look at historical CPU …
Question I have created a 2012 WFC and SQL Server 2014 is clustered on it. The cluster works as expected but have a question on Users:
I added a windows domain group to the cluster as sysadmin. When the user tries to log into SQL on the active server the …
Question ReportserverTempdb logfile is 6TB in size and growing and I need help. I am supporting a huge reporting server farm and the client wants reporting services to be in AlawysON Availability group(AAG) and we configured reportserver and …
Question I have a table that has a unique ID, name, email, and some other fields. I want to match this table against another table on email, but sometimes emails are shared. The unique ID is not shared among tables, but I will input the ID into the other …
Question I have a table that is several hundred columns wide. Is there a way to convert each row into a single concatenated string with the column title included without having to list each single column in the query? I'm doing this because the columns …
Question I'm a web developer and I want to export a database to work on it in my local machine.
I'm using generate script with data. the script is generated but without the linked servers used by some Views.
Is their a way to generate a full script with …
Question I am working with a 500 GB SQL Server database. I need to reduce the size of the database data file after removing a large amount (50%) of the data.
I tried re indexing, it's good the database has de-fragmented. But the DB size is not reduced.
Question I am trying to pull all data where a sale date is >= to a certain datetime. When I execute my query I get an error of:
Msg 241, Level 16, State 1, Line 15 Conversion failed when converting date and/or time from character string.What should I alter to …