Viewing 15 posts - 361 through 375 (of 1,346 total)
Oh, you wanted it for reporting services.
You can basically do the same thing using VB Script.
=Int((Fields!Seconds.Value / 86400)) & " Days : " &
Int(((Fields!Seconds.Value Mod 86400) / 3600))...
May 17, 2007 at 11:54 am
Drop the user from the database.
-- Drop the Schema
IF EXISTS (SELECT * FROM...
May 17, 2007 at 11:48 am
That doesn't look right.
Try this
declare @Seconds int
declare @Date smalldatetime
Set
@Seconds = 11285847
May 17, 2007 at 3:16 am
Try this. I'm sure there's a ton of ways to do it. Not feeling very clever right now.
declare
@Seconds int
Set
@Seconds =
May 17, 2007 at 12:53 am
You do not have to cross post.
May 16, 2007 at 10:16 am
Since you are in somewhat of an emergency situation
do a sp_who2, and see if there are any "RUNNABLE" Connections where CPU Time or DISKIO is high.
then next do a...
May 16, 2007 at 9:40 am
As RGR stated Getting Levels is altogether another Monster
Google "Trees in SQL" and you will get a Miriad of Articles and information discussing this.
For Example.
http://www.dbazine.com/oracle/or-articles/tropashko4
Its not just a simple...
May 15, 2007 at 3:22 pm
You have to do it by creating subscriptions.
Give this a read, it may be the ticket.
http://www.databasejournal.com/features/mssql/article.php/3370191
May 15, 2007 at 10:08 am
Actually,
Your probably getting the issue due to the PurDate Not knowing what datatype it is.
Try
SELECT CustID, PurchaseType, Store, COUNT(*) AS TotalCt
DATEPART(mm,PurDate) AS Month, datepart(qq,PurDate) AS Qtrr
FROM dbo.HomeImprovement
...
May 9, 2007 at 3:55 pm
Then you'll need to return the first Name, and Last name individually and exclude the "FullName" value. and then Concantenate on the presentation Layer.
May 8, 2007 at 2:41 pm
you can still use a collate function in your where clause without Changing your table definitions.
SELECT mycolumn
FROM mytable
WHERE mycolumn COLLATE Latin1_General_CS_AS like 'a%'
that is about the cleanest way to do...
May 7, 2007 at 8:46 pm
Zip codes are 5 chars long. So you want to prefix any zip codes < 5 chars with zeros? That would be better.
If not, and it needs to be more...
May 3, 2007 at 10:19 am
Please read my post on the same subject.
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=150&messageid=360261#bm360292
April 25, 2007 at 8:12 am
Well
the error message indicates the error is bubbling up from
Server: Msg 512, Level 16, State 1, Procedure ATEC_PriceStatus_UPSERT, Line 5
Can you post the entire procedure.
April 24, 2007 at 1:57 pm
your code does not show a subquery.
typically this happens when a query is constructed this way.
Select *
From Mytable
Where MyCol = (select SomeCol
from ATable
Where Value = 'This')
If the subquery...
April 23, 2007 at 4:11 pm
Viewing 15 posts - 361 through 375 (of 1,346 total)