possible combinations for all rows in table - I have a table having three column Name Value1 Value2 Value3 A 1 2 3 B 4 5 1 C 2 3 1 I want...
Recursion to iterate function - Some one help me to convert the recursive method to iterative function. USE [db] GO /****** Object: StoredProcedure [dbo].[proc_geneatecombkachha] Script Date: 11/27/2016...
how to retrieve numbers from a string - I have below kind of strings: 21-12-ABCD 23-1-hdf 19-1345-dsnf i want a result like below for each string: 21 12 23 1 19 1345 How can i extract...
Cant create database (.bak) file.. - we have a system for banking with sql 2014 database.. i really dont know what really happened,, but suddenly we...
User unable to execute OpenRowset without Error - On our old server these style statements executed as sa from a website. [code="sql"] execute as user = 'NewUser' select * from OPENROWSET ('Microsoft.ACE.OLEDB.12.0','Excel 12.0;Database=D:\PathDocs\test.xls;IMEX=1;HRD=Yes',...
Resource semaphore Query Compile and Maxdop Setting SQL 2014 - Hello, We have migrated SQL standard edition from 2008R2 to SQL 2014. After the migration we are seeing huge amount of...
Number of logical reads very different between 2 supposed identical environments - Hello, What parameters can have an impact on "number of logical reads" ? UAT and PROD environments are supposed to be the...
No data in one column of a view (NULL value instead - Hello, I have a table [DataXYZ].[dbo].[DataXYZ_GeoLoc_Input] with, as you can see, data for both "x" and "y" columns for year 2015: [img]http://www.cjoint.com/data/FKxqcfsonpU_XYZ-input.png[/img] I...
Select continual date ranges from a list that overlaps - Hi There, need some help. I have list of prices and the dates they are valid from and to. For Example: Date...
A scenario where SQL Server doesn't seem to help - Hi We have a scenario, where busniess users are presented with a screen with 20+ fields. They can choose any number...
Looking for a smarter script to do this query - I am stuck on a very repetitive query now, I wonder if anyone can help me on figuring out a...
Can't get sp_create_plan_guide to work - I have the following SQL generated by a third party application that is using a wrong index and create undue...
DDL event for job changes - Hi, I have a DDL Audit trigger which traces all the following events: [code="sql"] FOR CREATE_PROCEDURE, ALTER_PROCEDURE, DROP_PROCEDURE, CREATE_FUNCTION, ALTER_FUNCTION, DROP_FUNCTION, CREATE_TABLE,...
OpenRowset for CSV File - So earlier, I am on the verge of creating a code that would import a CSV file that is machine...
SSIS Excel import error - The situation is: Server A: runs alle the ssis jobs. Excel is located on a fileserver. Connection string Excel: Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\Fileserver\somewehre\Excelfile.xlsx;Extended Properties="EXCEL 12.0 XML;HDR=YES"; The...
Select All (multi values) and Error - I have created a Report and attached it to my database. I have 4 parameters in the report, all of...
Checklist to connect cassandra - Hi Friends, I have been assigned to a new project where data load s gonna happen from oracle to cassandra through...
Foreach ADO.NET Schema Rowset Enumerator won't loop through Excel Workbook - Hello all, I've searched the forums and internet for this problem all to no avail. Hopefully one of you can shed...
How do I remove zombie Business Intelligence Development Studio installed by SQL Server Express? - I am at a client where they install SQL Server Express 2008 R2 from a disk that apparently is capable...
Float vs Decimal? - Does anyone have any opinions concerning the performance of Float vs decimal data types? For example I have a table that...