Viewing 15 posts - 466 through 480 (of 1,124 total)
...Till now, I haven't found an easy way to get all in the pane, but there is a work-around, that needs to split the text in multiple columns, i.e.
DECLARE @LongText...
--Ramesh
February 19, 2009 at 6:43 am
The query is reducing 2 days for a week from total days. Since, Saturday is a business day for you, it should be reduced by just 1 day. i.e.
DECLARE...
--Ramesh
February 19, 2009 at 6:32 am
varchar(max), nvarchar(max), varbinary(max), text, image are large value data types. They can store upto 2^31-1 bytes of data (i.e. 2,147,483,647 characters) and with the unicode version you can store...
--Ramesh
February 19, 2009 at 3:52 am
How about this one?
SELECTLoginOwner, DATEADD( DAY, 0, DATEDIFF( DAY, 0, LoginDateTime ) ) AS LogDate,
MIN( LoginDateTime ) AS MinTime,
MAX( LogoutDateTime ) AS MaxTime
FROMSomeTable
GROUP BY LoginOwner, DATEADD( DAY, 0, DATEDIFF(...
--Ramesh
February 19, 2009 at 3:47 am
Well, the "SomeAccessServer" is just a name to the linked server, and by which you will accessing the tables in your access db.
Have you replaced the login "sa" in the...
--Ramesh
February 19, 2009 at 3:33 am
sysdtspackagelog table in msdb database
--Ramesh
February 19, 2009 at 3:21 am
Well, you can have a computed column or you can do the computing in the query itself.
CREATE TABLE #SomeTable
(
TableID INT NOT NULL IDENTITY(1,1) PRIMARY KEY CLUSTERED,
Active CHAR(1) NOT NULL,
ModifiedDateTime DATETIME...
--Ramesh
February 19, 2009 at 3:14 am
Another RUNNING TOTAL problem.., See these articles on how to achieve this...
http://www.sqlservercentral.com/articles/Advanced+Querying/61716/
http://www.sqlteam.com/article/calculating-running-totals
--Ramesh
February 19, 2009 at 2:44 am
First of all, what are you trying to do?
You used double quotes instead of single quotes, you have not added the select query in CTE, you wanted to...
--Ramesh
February 19, 2009 at 2:36 am
Ok..., the below query is tested and it works...
SELECTi.Name, ISNULL(s.Date, k.Date), s.stat1, s.stat2, s.stat3, k.kpi1, k.kpi2, k.kpi3
FROM#items i
LEFT JOIN #Stats s
FULL JOIN #KPIs k ON k.ItemID = s.ItemID AND...
--Ramesh
February 19, 2009 at 2:20 am
Will the below query is supported by your query builder? If not, can you tell us what queries are supported, 'cause I am out of ideas?:D
SELECTi.Name, s.stat1, s.stat2, s.stat3,...
--Ramesh
February 18, 2009 at 8:45 am
IS_MEMBER function checks whether the current user is a member of the specified windows or sql database role. And to check specifically for object level permissions, see PERMISSIONS function.
--Ramesh
February 18, 2009 at 8:40 am
I don't see any syntax errors in the query. And from where are you creating the view? Is it from Enterprise Manager or QA? If you are using...
--Ramesh
February 18, 2009 at 8:31 am
What errors are you getting when accessing the server from the client?
Can you connect to the server from the server itself?
--Ramesh
February 18, 2009 at 8:20 am
Jack Corbett (2/18/2009)
Actually this was changed in SP1, see this blog post - http://wiseman-wiseguy.blogspot.com/2008/03/64-bit-database-mail-sql-server-agent.html
...I was actually correcting my statement in a new reply but you beat me on it:D.
Now for...
--Ramesh
February 18, 2009 at 8:17 am
Viewing 15 posts - 466 through 480 (of 1,124 total)