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

Adding an Identity column as Primary Key

I created a table using a query, but the table needs an ID column as primary key. First question is: Is there a make table query command that will generate the ID column? Next question is: How long...

View Article


Bulk Insert for text file with irregular terminators

I have run into an issue with several clients when importing their files into tables. I can manually import by using the Import\Export wizard and hit the correct row count. However, using OpenRowSet...

View Article


Change Order of Week Names to Show Current Data First

Hello. Pardon me, I'm new to both this forum and SQL.I need assistance with code that will allow me to change the return order of week names. Currently, the return as the following:Weeks...

View Article

Another SSDT-BI topic

Hi,Can someone please help me navigate the SSDT waters?I just setup SQL Server 2014 and would like to do some SSIS package development. Hopefully I can avoid paying for a VS license to do so.I've read...

View Article

Passing parameters into config file

Hello all,I am going to try and explain what I am looking to do here, so please bear with me :-).I have several SSIS packages that run off of config files. Each package, as of now, has a dedicated...

View Article


Help required in query.

Hello Everyone, I have a transactional table which contains following columnsOrderNo. ItemNo. ItemNameBut there is an issue I need to rearrange the item number if order number changed and assign ItemNo...

View Article

Duplpicate rows appearing

We have a query that pulls employees and products per project. Right now, we have only 2 employees and 6 products for this 1 project. Here is what the output looks like currentlyProj_no Status Type...

View Article

Update Rolling Date Flags In a Table

The analysts I work with have created multiple tables where they structure them so there is data in majority of the table but then they tack on these date fields at the end which are designed to show a...

View Article


Asian characters when moving from Varchar to Nvarchar

Hi, I have a table which has some columns in Varchar format. When I transfer the data from the table (using sql migration wizard) to another table which has the same columns in Nvarchar... the data in...

View Article


Rows repeating

We have the following query that pulls all the information correctly except for our Invoice Schedule and Amounts. You can see from the attached file that the columns highlighted in yellow are repeating...

View Article

How to Get Query Plan During Execution

Is it possible to capture the text of an RPC SELECT statement from within the view which it calls? I have tried using [i]dm_exec_cached_plans[/i], [i]dm_exec_query_stats[/i] and [i]dm_exec_sql_text[/i]...

View Article

Using Access as a front end

I've created an Access database that links via ODBC to one of the tables in a local 2014 Express installation. If I try to modify a record I get "This recordset is not updateable." Why is that?TIA

View Article

how to find the unique value of mutliple columns from multiple tables in...

Hello, I need to find out the unique values in each column from the tables in a linked server. I have about 30 columns and 30 tables in the linked server. I do not know which table has which columns....

View Article


Error installing SQL Server Database Engine Services Instance Features...

HiI get the above message when trying to install SQL server with Data Tools etc. I tried finding the solution online and also tried the difference methods like not installing in a root directory with...

View Article

A more elegant way of creating 3 sets of columns from one column set table.

This is a sql server question although I am using it within Visual BasicOne of the Visual Basic apps that I developed tracks number of service calls within a 60 day period by date. I create a table...

View Article


How to change circular axis font in Radar (Polar) chart?

Hi,Strange but true.Can't seem to find the appropriate menu to change the circular axis font within a Radar chart I have created.So these are simply the labels that correspond to the "Name" in the...

View Article

Stored proc problem

HiI have a stored proc which doesn't seem to work properly, and I can's see why. Can someone cast a fresh set of eyes over it, and tell me what is wrong? The problem seems to be that the merge...

View Article


Currency Comversion SSAS

I have a sales table with sales amount in local currency and want to report in a consolidation currency. So far so good.But the user needs to be able to pick a specific exchange rate date and calculate...

View Article

Dynamic data Validation

Hi all,I have a Source table Tbl_Src that has 5 columns:Company_id,Salesrep_sales_date,Product_id,sales_Amt I have a process that runs and re-calculate the sales_amt and re-distribute portion of the...

View Article

Print Object Explorer panel?

Aside from Print Scr, is there a way to print the Object Explorer window?Thanks.

View Article
Browsing all 3145 articles
Browse latest View live