Viewing 15 posts - 766 through 780 (of 920 total)
Substitute the date you have for getdate()
select
dateadd(d,-1,convert(datetime,convert(varchar(2),datepart(mm,
April 17, 2006 at 2:01 pm
You might check out what permissions have been given to the 'public' user group. I've seen databases where public was given everything (usually test/development databases) and it was very difficult...
April 17, 2006 at 9:46 am
I'd give you the opposite advice. Do everything you can with stored procs.
Performance is usually better
It keeps the data management in the database where, in my opinion, it belongs
Impact analysis...
April 17, 2006 at 9:35 am
This looks a little strange:
AND JBS_BEFORE_QUANTITY > 0
AND JBS_BEFORE_QUANTITY < 1
What's the data type for this column? If it's integer, that might explain the 'no rows returned' problem.
April 13, 2006 at 10:52 am
Just to be a little contrarian...
Text and image data types can be performance concerns and you need to make sure your hardware is up to the task and your physical...
April 13, 2006 at 8:22 am
It will release the lock when the transaction is committed. If you have an update that spans a large number of rows, the server maintains the locks on all of...
April 6, 2006 at 9:16 pm
Just off the top of my head:
Make sure the server is set to accept the type of login you're using (SQL Server, Windows authentication, or mixed mode)
Make sure the user...
April 6, 2006 at 9:00 pm
It doesn't appear that the cursor ever stops, so you're running off the end of the result set.
Try
WHILE @@FETCH_STATUS = 0
instead of the 0=0 condition.
0 indicates a successful fetch,...
March 21, 2006 at 5:59 pm
Absolutely spot on. Though I do thnk Peter Davison desrves honorable mention for Doctor Who.
I might add:
Whatever new management paradigm is proposed by the latest business guru will have worked...
March 19, 2006 at 10:05 pm
How about ...
declare @y int
set @y = 3
select substring(convert(varchar(3), @y + 100),2,2)
It's not a builtin, but it doesn't look too painful.
March 6, 2006 at 5:47 pm
No. Why would that need to be the case? I'm working with a vendor who is service-enabling our banking transaction system. We haven't decided on the service granularity yet, but...
March 6, 2006 at 4:28 pm
I don't have any good news, I'm afraid, but you might want to check
http://support.microsoft.com/default.aspx?scid=kb;en-us;828337
to see if this looks like your problem.
February 15, 2006 at 2:20 pm
Give this a try:
http://msdn.microsoft.com/data/mdac/default.aspx
It should let you download the latest data access components. If you need the database tools, you might try downloading the trial version of SQL Server...
January 29, 2006 at 12:28 pm
If the log is set to auto-grow, the percentage will drop at the point where the log expansion has occurred. That's a guess, not a certainty, since I'm not on...
January 27, 2006 at 5:40 pm
Viewing 15 posts - 766 through 780 (of 920 total)