Viewing 15 posts - 18,376 through 18,390 (of 26,489 total)
Without seeing the code not much we can do to help. It is possible that you are experiencing parameter sniffing.
Please read the first two articles I reference in my...
November 16, 2009 at 6:59 am
Not sure what you are talking about at this point. Please show what you mean by three codes. If you mean you have 2 codes and you need...
November 16, 2009 at 6:52 am
mamet_bundar (11/15/2009)
I want to asking about how to display data which have different code in same table
CODE NUMBER QTY
C10 1111911101 10
C10 112789930K 20
M10 1111911101...
November 16, 2009 at 12:37 am
No, variables are not affected by transactions. This is also true of table variables.
November 16, 2009 at 12:27 am
Digs posted a project spec here on ssc that he posted on GetAFreelancer.com, so for S & G's (plus I am trying to earn some extra cash as things are...
November 16, 2009 at 12:18 am
I have to ask. Why does the developer store numeric values as characters? That is simply rediculous. Right there with storing dates as characters. Almost every...
November 14, 2009 at 10:27 pm
Want to talk about broken records?
November 14, 2009 at 12:17 pm
Joe Celko (11/14/2009)
November 14, 2009 at 12:16 pm
Here you go:
declare @yyyymm as varchar(6)
set @yyyymm='200910'
select
CONVERT(varchar(6), DATEADD(mm, CAST(right(@yyyymm,2) as int) - 2, DATEADD(yy, left(@yyyymm,4) - 1900, 0)), 112),
CONVERT(varchar(6), DATEADD(mm, CAST(right(@yyyymm,2) as...
November 14, 2009 at 12:54 am
My guess, old COBOL programmers who haven't changed their ways. 😉
November 13, 2009 at 4:03 pm
Just asked to have this thread moved to a SQL Server 2005 forum.
November 13, 2009 at 3:58 pm
Actually, I don't find the Dean's c# code very readiable either. Everything is left justified. I'd prefer to see things indented so that it is easier to see...
November 13, 2009 at 11:37 am
Why not this:
select
MemberID,
max(FinancialYear) as FinancialYear
from
dbo.MyTable
group by
MemberID;
November 13, 2009 at 9:56 am
I am making the assumption that you were restoring the database from a backup?
Try this:
restore database [YourDatabaseName] with recovery;
November 13, 2009 at 9:51 am
Viewing 15 posts - 18,376 through 18,390 (of 26,489 total)