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

Extract plain text from Html

Hi All,Is there a way to extract plain text from Html ? Thanks in advance.

View Article


sql server 2014 queries

Hi,Can anyone answer for my questions attached to this post.Many thanks in advance.Thanks, Lucky

View Article


Table Redesign Question

Hey there!We have a series of tables that I'm trying to make more efficient.  Currently there are over 90 "request" tables.  These request tables represent a type of "change record" for various modules...

View Article

How to find if a column of a resultset has a content?

There is a report I print, which includes a list of people, e.g. students, with their relevant content, e.g. their results for Year 1, 2 and 3.Prior the list I print the titles, e.g. Name, Year 1...

View Article

Pivot the data

I am wondering if I can get some help here. I am joining 2 tables which brings me the result set I want. It gives me the list of state and the list of company name. Please see an attachment. This is...

View Article


How to roll up quantities > 1?

Hello everyone, I have not worked with rolling up quantities before and I am looking for some help.I need (or would like) any time an item appears more than once in my result, the ItemNum to be only liste

View Article

grouping by *

I have this code:[code language="sql"]selectD.*,H.[Customs_Recon_Entry_Num] as RH_Recon_entry,max(cast([Recon_File_Date] as Date)) as Recon_File_Datefrom[NAFTAFORD].[STEP1_DUTYIMP

View Article

Understanding Memory Requirements of my Query

Hi,As I understand -   how much memory is required by my Query depends on factors such as how large are my source tables are and whether-or-not those tables are Indexed on the Columns being JOINed...

View Article


Uncommittable transaction is detected at the end of the batch

Hi!  Ok, this error is bugging me I can't figure it out.  We have a stored procedure that is running a transaction and it is being called from inside ColdFusion for our application.  This procedure...

View Article


Index - Whether or not my table should have one

Hi,I have a typical DWH scenario of  Source  -->   Destination ETL.During this ETL, there are some intermediate tables constructed and dropped.   Source  -->  Stage1  --->  St

View Article

Create Combo packages - Ordered by Item Type and then Ranked as Group

I want to create a create a Combopackage of Top 3 Ha

View Article

Entity Framework and SQL

Hi Experts,Our dev team is using Entity framework and now all the DB calls are written in code. Since there is no procedures created from there side and SQL Code not directly available it is hard to...

View Article

Find a value immediately prior to a given date

I have this code to create a temp table with 50,000 rows.[code language="sql"]CREATE TABLE #TEMP1(Part varchar(90),Supplier varchar (10),Import varchar (10),Summar

View Article


interior data not equal to another column

I hope i get this explained  correctly.1. My Column CI_Num has the format of  AAAAA-ABCDE-BBBBB       The Prefix is of variable length.  The Base (ABCDE) is always 5 characters, and the Suffix is of...

View Article

Join tables with a dynamic table and an unknown number of columns

I have a current schema that is fairly normal except one table can have multiple rows that need to pivot. I need to turn those rows into columns and am able to do that independent of the query with the...

View Article


Using an ALIAS table name in a CASE statement

Hi there everyoneI'm trying to use an ALIAS table name in a CASE statement, but I'm hitting problems. Any help would be much appreciated - thank you.I've used the datepart(month,DATEOFBIRTH) AS MTH_NUM...

View Article

Error: Invalid Custom SQL query.

Hi experts, The stored procedure executes only with the Warning. But when it executes from the user's side, it raises this error.

View Article


large volume test data - PK constraint

HiI have a table with 4-column composite PK.What is the best way to generate high volume test data without violating PK constraint?    Use RAND sort of random generator to insert test data?Will this...

View Article

Count the amount of times values appear in the database

Hello,I have a table of "jobs" which I need to export to an online accounting software. What I need to do is count the quantity of jobs that have a matching service and vehicle and total the subtotal,...

View Article

Isses with upgrading SSIS components (from 2008 to 2014) that programatically...

body { margin: 0 0 0 0; padding:0 0 0 0 }td,div { font-family:Segoe UI Semibold;font-size:10pt;vertical-align:top }/* Copyright IBM Corp. 2011 All Rights Reserved. */body { margin: 0 0 0 0; padding:0 0...

View Article
Browsing all 3145 articles
Browse latest View live