File Group Backups and Restore - Morning All, I have a database, with a filegroup that is 2TB of documents (blob data). I frequently have restore this database...
Query returning incorrect results randomly - Hi Team, I'm running a simple SQL query which returns a set of columns based on a search criteria. It has...
Table valued fucntion or scalar valued function - I have a productCase table that we created cases for some products. Then there are some other tables related with...
Cluster Node Down - Hi Experts, One of our node in a 2 node SQL cluster is down . Checked the Port 3343 is open , no...
MSDB jobs in DB mirroring and AlwaysOn availability group - Hi all, As we have already know -> system databases are not mirrored nor replicated in both mirroring and alwayson availability...
How to use a CSV as parameter in a query - I always used a query with an(one) integer parameter, but now it has to change to more integers in the...
SUM and Group using IN clause - Hi, I am looking for a way to create a query to SUM and Group BY by using IN clause...
Drill down values... - Hi, I've an orders table with customer and supplier (customer_id, supplier_id, order_id, order_date, ...) Is it possible to get the total orders...
Completing Fixed Sets With Another Table - Hi, I'm having some trouble finding a solution to a problem, its been a few hours now and I think I...
Current options for data-change notification on a vendor-schema (unalterable) - I've got more and more applications popping up in my enterprise environment that would benefit from being notified when information...
Need help with a SQL "least significant digit" algorithm - Hi all, Looking for some quick help with a bit of SQL. The best way I can describe it is that...
Get records which satisfy particular condition and exclude others - I have the following data with client account decision and status Client fields value 111 Decision accept 111 Status deposited 112 decision accept 113 Decision accept 114 Decision accept 114 Status contract 115 Decision Conditional Accept 115 Status deposited 116 Decision Conditional Accept 117 Decision Conditional Accept 118 Status contract 118 Decision Conditional...
Big data: transfer x-number of rows per batch? - Hi all, I must transfer a big table (231k rows not that big, but 735GB big because of blob) to another...
Get data between 3PM and 2AM - This data represents visits to our Emergency Room. I need to pull the records for patients that were registered between...
Username increment by 1 if already exists in table - Hi All, I am having user table as below Create table #TEMP_USER ( ID int identity (1,1) , USERNAME nvarchar(50) ); I want to insert...
Migrating Data from SQL server 2012 to Data Warehouse - Hi, What do you think is the easiest way to migrate data from Sql server to data warehouse
SSDT Not Updating Database - We're using Visual Studio 2013 SSDT to generate deployment scripts for database changes and have found some strange behaviour. The project...
Need to implement left join using look up - I have a stage table S and new columns from other table T , i want to do left join on...
Setting up Database mail using gmail account - Hi,, any one any idea about this? I am trying to set up Databases mail on my laptop and I have...
error 1067-sql server agent - While starting sql server agent service on my server it is giving following error: error 1067 :the process terminated unexpectedly I have...