Viewing 15 posts - 1 through 15 (of 31 total)
Hi Data Cruncher,
I guess what you are looking...
December 12, 2018 at 3:37 am
You're over complicating yourself. Here's a simpler version of your query.
It seems that I need a coffee sip badly. 😀
That was awesome! Thanks
Sometimes we do easy things the hard way!
July 6, 2016 at 7:25 am
Hey Luis,
Thanks a lot for your solution. Yes I know the Tally table.
I came up with the below solution. Instead of using Tally table, I have used UDF db.GetNums...
July 6, 2016 at 6:50 am
Thanks a Lot for your solution.
That's the brilliant use of T-SQL features
May 25, 2016 at 11:32 am
Your requirement is not clear to me.
Hope below code will help you to move in the right direction
SELECT *
from act a
inner join
(select jid, pp.f as f1 , p1.f as...
May 23, 2016 at 3:25 am
Can You post sample data?
May 20, 2016 at 8:35 am
This type of report is usually best left to the presentation layer. It's possible to do this in T-SQL, but it's not the best tool for the job.
I completely...
May 20, 2016 at 1:32 am
Have you tried my solution?
Isn't if suffice your requirement?
December 14, 2015 at 4:43 am
Below is one way of doing
Fetch all the Execution statements based on table values into a variable and using dynamic SQL execute it
DECLARE @DELETECUSTID VARCHAR(MAX)
SET @DELETECUSTID =
(
SELECT ...
December 14, 2015 at 3:58 am
Hi Karthik,
Oh great!. Can you post your solution (code) here?
December 22, 2014 at 11:30 pm
Try below code, is it what you want?
DECLARE @HeaderSQL as varchar(4000)
SET @HeaderSQL = (
SELECT
STUFF(
(SELECT ', [' + Param_ID + '] AS [' + Parameter + ']'
FROM [dbo].[lu_parameter]
FOR XML PATH(''))...
December 22, 2014 at 11:06 pm
Could you please elaborate on points 4, 5 & 6.
How the source database columns and destination database columns mapped? How the data is transferred using SSIS? Which technique ( eg...
December 2, 2014 at 2:55 am
Oh wow! Thats a nice use of Regular Expressions! Never tried before.
I am curious to know about how data is migrated?
The code can be changed but how the existing data...
December 1, 2014 at 2:17 am
Hi,
You have to change the DataType property of Excel Columns using Advance Editor and the excel source reads first eight rows.
The below article will guide you.
"https://www.simple-talk.com/sql/ssis/importing-excel-data-into-sql-server-via-ssis-questions-you-were-too-shy-to-ask/#second"
November 17, 2014 at 9:36 pm
A very nice question and there may be chances of giving the wrong answer as with the "SET IDENTITY_INSERT" one can INSERT data into Identity Column but one can never...
November 17, 2014 at 2:31 am
Viewing 15 posts - 1 through 15 (of 31 total)