Viewing 15 posts - 5,536 through 5,550 (of 6,400 total)
this will do the trick
select custname, region, upper(left(amount,3)), amount1
from
(
select
custname, region, janamount, febamount, maramount, apramount, mayamount, junamount, julamount, augamount, sepamount, octamount, novamount, decamount
from #test) t
UNPIVOT
(amount1 for amount in (janamount, febamount, maramount,...
March 16, 2012 at 9:36 am
1st error, lookup requires 4 parameters, if you used my above expression it only passes in 3.
2nd error, you have a extra function like MIN/MAX/AVG/SUM etc somewhere else which is...
March 16, 2012 at 9:28 am
please post the table definition and a couple of sample data rows
March 16, 2012 at 9:07 am
the expression isnt complete, its missing 2 closing brackets
this is just my personal preference but i like to format brackets like this so I can see how many (...
March 16, 2012 at 7:49 am
if its just a page then its controlled locally and GP will not override any settings that you add in manually unless the folders in the tree are locked like...
March 16, 2012 at 6:14 am
the last screen before the import runs is a screen which says, run immediatly or save package as, you simply save the package, and then create an agent job to...
March 16, 2012 at 3:46 am
a few ways then, take a look at the import export data wizard which will create you an SSIS package which you can schedule, also take a look at creating...
March 16, 2012 at 3:36 am
is the txt file going to be the same structure everytime it is imported or is it going to change?
March 16, 2012 at 3:27 am
if you have not already, please install books online from the SQL installation media, it will help you in the long run and will give you the same information we...
March 16, 2012 at 3:18 am
as an add on to this, yesterdays headline was about adding a monitor to an existing LS plan, so you could add one now without waiting for the failover
http://www.sqlservercentral.com/articles/Log+Shipping/77295/
March 16, 2012 at 2:52 am
in secpol, when you look at the log on as a service section, what is the icon showing at the begining? is it a page with 10010 or is...
March 16, 2012 at 2:03 am
backups and databases on the same drive?
got other processes which are running around the same time which could cause file growth and shrinking? Index rebuild for example or if tempdb...
March 15, 2012 at 2:05 pm
we decided against scom as it didn't monitor everything we wanted from SQL
is there a reason it needs to be in scom? Could you nit create a custom stored...
March 15, 2012 at 1:58 pm
Viewing 15 posts - 5,536 through 5,550 (of 6,400 total)