Viewing 15 posts - 2,971 through 2,985 (of 15,381 total)
ditha (4/21/2015)
Thanks ! Can you please post the code if possible ?
Just like you did above but instead of having your cte be 2 rows, make the table the values...
April 21, 2015 at 8:54 am
ditha (4/21/2015)
That's fine with the data load if its slow.
but I need to...
April 21, 2015 at 8:29 am
ditha (4/21/2015)
I am using below as Input query to load sequence records to destination table
SELECT ID, [Database].[dbo].[SequenceComplexNEW](ID) AS Sequence
FROM (SELECT n AS...
April 21, 2015 at 8:10 am
ditha (4/21/2015)
April 21, 2015 at 7:47 am
serg-52 (4/21/2015)
Split + take first given number of values + add nulls if splitted values set is shorter then requied length + PIVOT ?
I am sure this is crystal...
April 21, 2015 at 7:45 am
ditha (4/20/2015)
Requirements
• ALPHANUMERIC FORMAT – > AA00AA00………..ZZ99ZZ99
Last 8 bytes will alternate between 2 byte alpha/2 byte numeric
• Generate from Alphabets – A...
April 21, 2015 at 7:27 am
Naveen J V (4/20/2015)
I have used Aasim Abdullah's (below link) stored procedure for dynamically generate code for deletion of child tables based on parent with...
April 21, 2015 at 7:24 am
vipin_jha123 (4/21/2015)
I am having staging table with separted by '¯'.
I want to split the data with given number .
i have given 31 means my main table have 31 column.
it...
April 21, 2015 at 7:08 am
I assume you meant to have a NULL and not the string literal "NULL" in your data. If you have the string literal you just need to use a NULLIF.
CREATE...
April 20, 2015 at 10:47 am
sharonsql2013 (4/20/2015)
I need to get the below data in one single row... How can I do so?
CREATE TABLE #tbl_data (
Region Varchar(25),
code_1 Varchar(20),
code_2 Varchar(20)
);
INSERT...
April 20, 2015 at 10:36 am
Hi and welcome to the forums. In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form...
April 20, 2015 at 10:35 am
With ROW_NUMBER. https://msdn.microsoft.com/en-us/library/ms186734.aspx
April 20, 2015 at 10:33 am
Your explanation is kind of all over the place. You reference columns in your sample query that don't exist in your sample data. The description is difficult to follow however...
April 20, 2015 at 10:05 am
cphite (4/17/2015)
Sean Lange (4/17/2015)
April 17, 2015 at 2:12 pm
Lidou123 (4/17/2015)
I am working with access 2013 and I want to add an extra row in my select query.
With sql server I used an union like this:
select...
April 17, 2015 at 9:40 am
Viewing 15 posts - 2,971 through 2,985 (of 15,381 total)