Viewing 15 posts - 76 through 90 (of 302 total)
You can change to like this. YY
select dbo.fn_FormatDate(@dateS,'yy/mm/dd')
This function is so flexible to format any date. you can see the example in the function too.
June 11, 2009 at 5:46 pm
Can you let us know what is the error.
If it's a distributed query then you may need to check the remote link and also the account which remote link...
June 11, 2009 at 4:59 pm
Try to use the following function.
You need to convert your int date to varchar and then try following function.
for example
declare @dateI int
declare @dateS varchar(10)
set @dateI =20060101
set @dateS = convert(varchar(10),@dateI)
select dbo.fn_FormatDate(@dateS,'yyyy/mm/dd')
create...
June 11, 2009 at 4:52 pm
Here you go.
--To get the stored procedure started with sp_
select name from sys.sysobjects where name like '%sp_%' and xtype='p'
--To get the list of tables without clustered index
SELECT DISTINCT
=...
June 11, 2009 at 4:44 pm
I think I should be more clear.
I wanted to restore Analysis Cubes from one server to another server automatically, I am thinking if it can be done through sql job...
June 11, 2009 at 2:47 pm
I just came to know that we should not rely on task manager when checking memory problem. Task manager sometimes does not give proper information on Itanium server.
We should use...
June 9, 2009 at 3:52 pm
Thanks a lot Tim,
I will surely look into this document and make necessary changes.
May 29, 2009 at 9:21 am
The only thing I know that I posted a question and I got response very fast and that is what I need.
It's not a matter of laziness, it is...
May 27, 2009 at 4:55 pm
Alex.. I was thinking of the same thing. I will remove and add some more thoughts so that users should understand easily. I really don't want to put technical...
May 27, 2009 at 4:02 pm
Hi Tim,
I am a DBA and I know my DBA job. I think you misunderstood the questiion. I can develop this demo but it will take some hours and I...
May 27, 2009 at 3:59 pm
That looks great. That exactly i need.
you saved my lots of hours.
Thanks a lot.
May 27, 2009 at 3:36 pm
Thanks man,
I think it's fine now, some system process were running and taking lots of CPU. I will see tomorrow if there is any improvement because there will be some...
May 19, 2009 at 5:26 pm
After doing all the changes and rebooted the server, it is now taking 100 CPU but paging size is very low. Before the changes, CPU was very little but paging...
May 19, 2009 at 5:09 pm
This SQL box has 6 GB of total memory.
Mininum memory is 0 and maximum memory is 2147483647 MB which is default.
Should I change maximum memory to 6000 MB and what...
May 19, 2009 at 4:52 pm
Viewing 15 posts - 76 through 90 (of 302 total)