Backup SQL2008 db into new SQL 2016 Is this possible? - Our vendor has a new version of their application that we will be upgrading to in the coming year. Today...
Instance Stacking vs. VM Stacking - I'm in a situation where we have the option to put multiple SQL instances on a single VM, or spread...
Need sql help - Hi I have a following scenario. File has 4000 records.4(1,2,3,4) sets of records make one final record.I am moving whole set of...
conditional where clause - I have this problem I cannot solve. In a stored procedure I need to make a select query. A parameter...
Stored Procedure help - I wrongly posted this in SQL Server 2005 so re-posting here as I couldn't move it. I'm running SQL Server...
Backing up log in High Availability - Hi, I am backing up the transaction log via a maintenance plan every 15 minutes on my secondary high avail server....
logical file name different in sys.database_files vs. sys.master_files - I restored a copy of a database from a 2008r2 instance to a 2014 instance that is clustered with a...
Long running insert - Hi! Having problem with an insert that take very long time to complete, there is a warning about Type Conversion in...
Is there a way to extract only credit card numbers from text - i have below sample data, i try to extract valid credit card data. But i was not able to do...
Copy BAckup Files to Non Prod servers - Hello Experts, I need to copy backup files from Prod server to Non Prod server but the problem is both are...
Let the optimizer do it's thing -- wrong - I've heard this advice everywhere. Don't do things to change the way the sql optimizer produces plans etc. "it's smart...
Bitwise & NULL - I have a large number of yes/no columns for a table. Rather than creating a bit field for each, I'd...
Latin small letter u with diaeresis - Hi, I have a source table which is under SQL 2014 and I am doing ETL on it (no transformation logic...
Converting time - from "seconds after midnight" - Hello all, We have time saved in our db in a seconds after midnight format and need to convert it to...
Query tuning - Help needed - Hi all, I've been looking into this query and trying to see if there is any better way to write or...
How to see index coding - Hi Experts , sp_helptext view_name sp_helptext Procedure_name but how can i see index code : sp_helptext index_name --> i got error from...
NULL Datetime causing NULL string when converting - Here's the Query: [code="sql"]SELECT [description], CASE WHEN startDate IS NULL THEN CASE WHEN endDate IS NULL THEN '(''' + [description] + ''',''' + 'NULL' + ''',' + '''' + 'NULL' + ''',''' + code + ''')' ELSE '(''' + [description] + ''',''' + 'NULL' + ''',' + '''' + CONVERT(VARCHAR(8),...
Log waits - Dear All, I have a database which is causing job failure looking from the error logs, it states that the log...
Confusion Over OR and And Operators - Suppose I want to find customers in the customers table who are not in the US or the UK. To me...
Alternatives to Microsoft Certifications - Is there any good alternatives to Microsoft's certification route? I found the process of dealing with Microsoft's website traumatic at best....