Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Browsing all 3145 articles
Browse latest View live

ghostscript to auto print a generated Reportservices Report

I downloaded ghostscript and ghostviewI was trying to use XP_CmdShell, to print a report once it was generated in reporting services. we only have SQL Server 2012 standard.I cannot get the XP_CmdShell...

View Article


Is it possible to determine the dataflow within a database?

Hi guys , Is it possible to determine the data flow within a database? e.g. I start by adding/inserting a record in MainTable1, then through a trigger SubTable1, SubTable2 have records inserted into,...

View Article


Need help learning to manipulate SQL Server db with VS2013 VB.net

I am quite fluent with VB6/VBA and Access and had written code in a few projects with those.I am migrating to VS2013 VB and SQLExpress. I went thru James Foxall's "Teach Yourself VS 2012" and start to...

View Article

Developing SSIS Packages in SQL Server 2014

Hi,Installed SQL Server 2014 and was looking BIDS (Business Intelligence Development Studio) with no success. After poking around different forums I gather it is no longer included as part of the...

View Article

RowNumber issue

I have a query that worked perfectly fine until I added a Row_Number column in with a Date column specified in the order clause.The error I get is:Msg 241, Level 16, State 1, Line 27Conversion failed...

View Article


SQL Server 2014 Integration Services text by Brian Knight

Hi,The insert statement in page 294 fails (SQL Server 2014 Integration Services text by Brian Knight). Any Ideas what data should be entered for the PACKAGE ID? ThanksINSERT INTO SSIS SETTINGSELECT...

View Article

SSIS - Unable to issue multiple statements to mySQL using Execute SQL Task

I'm trying to issue multiple commands to a mySQL database using an SSIS 'Execute SQL Task'. A single Execute SQL task with either one of the commands below works fine. TRUNCATE TABLE...

View Article

implicit conversion failure varchar to numeric using DelimitedSplit8K function

We're using Jeff Moden's DelimitedSplit8K table valued function published in the following article...

View Article


Datatypes available in SQL Server 2014

Hi Folks,May I know the new data types introduced in SQL Server 2014 compared to 2008 R2? I have to make a plan on it ASAP.Please help...

View Article


Send CSV file with db_sendmail - missing records

I am trying to send a csv file with 15000 records via the database mail in SQL Server 2014. The problem is that when I open my email the csv only contains 209 records. I have tried the same thing in...

View Article

How to correct this?

hi fellow DBA's...just need your little help....this is my query in SQL Server 2000."SELECT tblSchoolYear.SchoolYearTitle" & _" From tblSchoolYear" & _" Where...

View Article

Merge similar records from excel

I am working on a project that will require me to get a flat data file (excel spreadsheet) with hundreds of thousands of records. Each record is an Owner, and specifically what they own. There will be...

View Article

a simple join

hello everybodyI have a problem that to me is simple, I guess!, we have 2 tables, and I want to do a join with only a field, Select t1.campo1, t1.campo2 from tabla1 t1 join tabla2 t2 on t1.rfc =...

View Article


Case Sensitive Collation Causing Cardinality Warning

I've been monkeying around with some obfuscation code... Over the weekend I decided to give it the ability to do a case sensitive character swap. Updating the code was pretty straight forward but when...

View Article

How can I give permissions to specific schema only for a user?

Hello,I created a new login and then created a new user [COM] in DB with default schema pointing to [COM]I created then schema [COM] WITH AUTHORIZATION [COM]I want this [COM] user to have all...

View Article


Can I change how TSQL evaluates values in SELECT statement?

Hello,I have older applicatio which has statement like this SELECT * FROM vare WHERE showOnWeb = TRUEPlease note that TRUE value does not have quotes around it. Is there a swich I can change in SQL...

View Article

Stored Procedures Local vs. Cloud

Is there a way using a stored procedure in a local database to add a record to a database executing in a cloud environment when both entities reside in different domains?

View Article


Columnstore Query Reverting to Row Mode with CROSS JOIN

I have two inline selects against a table with a nonclustered columnstore on SQL 2014 (12.0.2000). Both execute in batch mode and when I inner-join the two, they continue to execute in batch mode. When...

View Article

Default Constraint

I make a table with Default values and that works fine :CREATE TABLE [TestDefault]( [ID] [int] NOT NULL, [aInt] [int] NOT NULL DEFAULT ((0)), [aTime] [datetime] NOT NULL DEFAULT (getdate()), [aBit]...

View Article

Programmatic creation or modification of SSIS

I'm trying to create an SSIS package that will do a straight data copy between databases. The problem is that the underlying schema of the origin may change and the requirement is that the transfer be...

View Article
Browsing all 3145 articles
Browse latest View live