Viewing 15 posts - 511 through 525 (of 628 total)
Good luck; if yaa find something please post here. I would like to know built in way of doing it so I don't have to find "alternative" methods of...
March 10, 2009 at 1:57 pm
I wasn't pressing on shortkey ;-).
First time I steped-in using the tool bar button and placed my break points on both SELECT statements.
Then I ran it using Debug mode; and...
March 10, 2009 at 1:56 pm
Yeap; thats how I did do it.. Orr rather will be doing it on me servers once I get free cycles LOL. I thinks I'll add this bit to...
March 10, 2009 at 1:49 pm
Can you please paste the T-SQL code your executing?
This is what I execute:
ALTER DATABASE DBName
SET Parther='TCP://Server:Port'
Server Being the Principle Server/Mirror Server.
Port being the Endpoint Port.
Thanks.
March 10, 2009 at 1:45 pm
It shouldn't cause issue to have these installed together. Because many developers I know have alot of those tools in addition to Developer Edition or full version of SQL installed...
March 10, 2009 at 1:17 pm
You can use this query to get the name of the log file ...
Output: nightly backup 5pm_Subplan_1_20090309181905.txt
[font="Courier New"] SELECT SMPP.[name] + '_' + SMPS.subplan_description + '_' +
CONVERT(VARCHAR(8),end_time,112) +
REPLACE(CONVERT(VARCHAR(8),end_time,108),':','') +...
March 10, 2009 at 11:54 am
*smack* ... I knew I should have drank more coffee ...
>_> Sorry.
March 9, 2009 at 11:45 pm
We had a consultant who had developed an app in outlook forms. Because we didn't want to pay him to support it; we had to pay him $$$ after...
March 9, 2009 at 11:09 pm
An interesting example I had ran into ..
[font="Courier New"]SELECT * FROM (
SELECT
ROW_NUMBER() OVER (ORDER BY ResourceName ASC) AS rownumber,
*
FROM ApplicationResources
) AS foo
WHERE rownumber = 5[/font]
Ref: http://stackoverflow.com/questions/16568/how-to-select-the-nth-row-in-a-sql-database-table
Thanks.
March 9, 2009 at 11:05 pm
Yaa Jeff go hunt down the 3rd party vendor :). Jeff likes dealing with them hehe.
March 9, 2009 at 9:04 pm
Yes ....
Although if table exists then you have to do
INSERT INTO OtherDB.dbo.TableName
SELECT ColList, ...
FROM CurrentDB.dbo.TableName
March 9, 2009 at 9:03 pm
Creating a database doesn't create the user name and password.
You can create a new Server Login with following code:
[font="Courier New"]USE [master]
GO
CREATE LOGIN [test] WITH PASSWORD=N'test123', DEFAULT_DATABASE=[DBName], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
GO
USE [DBName]
GO
CREATE USER...
March 9, 2009 at 8:31 pm
Same post, other one has more detailed info; link.
March 9, 2009 at 8:27 pm
You can use the substring function to select subset of the day with in a string. The table structure doesn't provide much info .. so thats best I can...
March 9, 2009 at 8:25 pm
Could you post the code? Or attach the SQL file?
Mohit.
March 9, 2009 at 8:24 pm
Viewing 15 posts - 511 through 525 (of 628 total)