Viewing 15 posts - 7,651 through 7,665 (of 11,676 total)
dennis.hafstrom (3/13/2012)
Koen Verbeeck (3/13/2012)
And what if February doesn't have any data?
Unless I am mistaken he had year and month separated so it wouldn't work checking for it until they are...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 13, 2012 at 3:33 am
Krtyknm (3/13/2012)
Nice thoughts and suggestions!! But My idea is to keep the SQL script very simple, instead of creating the monthname statically we can go with the dynamic way.
Euh...
keep the...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 13, 2012 at 3:09 am
Krtyknm (3/13/2012)
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 13, 2012 at 2:06 am
A simple SELECT that should work on every SQL Server database:
SELECT TOP 12
MonNum= ROW_NUMBER() OVER (ORDER BY sc1.NAME desc)
,MonthName= DATENAME(MONTH,DATEADD(MONTH,ROW_NUMBER() OVER (ORDER BY sc1.NAME desc),0)- 1)
FROM Master.dbo.SysColumns sc1
Although I'm...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 13, 2012 at 1:47 am
This is a good blog post to start with:
SSIS: Custom Logging Using Event Handlers
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 13, 2012 at 12:29 am
Why are you using SSIS for this? This is the wrong tool for the job, SSIS is used to transfer and manipulate data, not fiddle around with macro's.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 13, 2012 at 12:26 am
sandhya.kacham (3/12/2012)
but it is not working as expected.
Can you be a bit more specific here?
It's like going to the garage with your car and say to the mechanic:
"Car doesn't...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 13, 2012 at 12:24 am
bitbucket-25253 (3/12/2012)
Incorrect answers: 67% (2)
Total attempts: 3
What I thought was a nice straigt forward simple question, the results are discouraging in the number of...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 13, 2012 at 12:20 am
Dima-99208 (3/12/2012)
Try this: [ORDERDATE] == "" ? DT_DATE : RIGHT([ORDERDATE],4) + "-" + SUBSTRING( ORDERDATE, 4, 2 ) + "-" + SUBSTRING( ORDERDATE,1,2)
There's a...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 13, 2012 at 12:04 am
You could use the Lookup component to determine of a row is an insert or an update.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 12, 2012 at 8:15 am
Also check if the account has permission on the folder that contains the SQLAgent.out log file.
If it can't write to that log file, the service won't start.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 12, 2012 at 8:10 am
I can't see the images here at work, so it's a bit hard to understand the configuration.
Is it really important that an order is preserved?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 12, 2012 at 6:23 am
In short, the point of full text indexing is to create a catalog and a full-text index on your tables.
Using this full-text index, you can use the TSQL function CONTAINS...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 12, 2012 at 4:14 am
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 12, 2012 at 3:01 am
Look into the LIKE clause or into Full-Text indexing.
p.s. your caps lock is broken
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 12, 2012 at 1:13 am
Viewing 15 posts - 7,651 through 7,665 (of 11,676 total)