Viewing 15 posts - 391 through 405 (of 549 total)
Google should've answered this quickly
http://www.singingeels.com/Articles/Pagination_In_SQL_Server_2005.aspx
SELECT * FROM
(
SELECT *
, row = ROW_NUMBER() OVER (ORDER BY ID)
FROM task_log
)
WHERE row BETWEEN 51 AND 60
October 24, 2008 at 1:49 pm
I give up trying to understand the question 😛
October 24, 2008 at 1:45 pm
My bet is on NUMERIC being deprecated (keeping DECIMAL)
but it's an easy fix of Find-and-Replace anyway, and probably be a long while anyway
October 24, 2008 at 12:06 pm
DECLARE @TableNo INT
SET @TableNo = ((select count(*) from MasterList) / 10000)
DECLARE @TableCount Int
SET @TableCount = 1
DECLARE @MasterName varchar(50)
DECLARE @sql nvarchar(500)
WHILE @TableCount <= @TableNo + 1
BEGIN
SET...
October 24, 2008 at 11:46 am
For you Run As credential
can you try SERVERNAME\account?
if you don't have the NewDomain\WindowsAccount
and is that local account Administrator?
worst case, Remote Desktop in and start perfmon
October 24, 2008 at 10:01 am
As far as I know, you will affect the performance either Remotely or Locally
Relative Theory eh...
oh, the official window title of "perfmon" is "Performance"
so I meant I just ran Perfmon...
October 24, 2008 at 9:44 am
http://msdn.microsoft.com/en-us/library/ms187746(SQL.90).aspx
SQL Server 2005 Books Online (September 2007)
decimal and numeric (Transact-SQL)
Numeric data types that have fixed precision and scale.
decimal[ (p[ , s] )] and numeric[ (p[ , s] )]
...
October 24, 2008 at 9:03 am
You can Remote Desktop in and start perfmon locally?
We use different domain here, I just ran "Performance" with Run As under different account
connect to a SQL Server, and got the...
October 24, 2008 at 9:01 am
Do you necessarily need to create tables for them though?
or if you really do, select all 40000 into 1 temp table with Identity column
work on all 40000 records at once
then...
October 24, 2008 at 8:01 am
Mathematically, it is correct to show 1 instead of 00001 for the INTEGER data type
Maybe you can explicitly select it as NVARCHAR
if not, use REPLICATE to fill in the 0's
SELECT...
October 24, 2008 at 7:55 am
Fortunately I can install and use SSMS Tools Pack (for 2005 and 2008), which generates the INSERT statements for me
October 24, 2008 at 7:49 am
Best Practice for forum code
SELECT dbo.JobActual.TitleID,
...
October 24, 2008 at 7:46 am
If you can afford to send a test email to "sqldba@company.com" in Outlook or whatever email program, do that. That's the best way
If that works, SQL Database Mail should work...
October 23, 2008 at 4:04 pm
Yes, the lovely UTC vs Daylight Savings Time
Looking around the sp_update_schedule Books Online
http://msdn.microsoft.com/en-us/library/ms187354(SQL.90).aspx
I am thinking 3 options
1. the way you did, update schedule
2. Create all the jobs with new schedule,...
October 23, 2008 at 3:46 pm
sorry my bad
Replace the WHERE in my code with ON, that should do it
October 23, 2008 at 3:38 pm
Viewing 15 posts - 391 through 405 (of 549 total)