Viewing 15 posts - 346 through 360 (of 463 total)
Brett Favre (10/5/2009)
The syntax is compatible. Other organizations have successfully used this same view in the vendor DB in a sql 2005 environment in 2000 compatibility mode.
Last night we rebuilt...
---------------------------------------------------------------------------------
October 5, 2009 at 8:00 am
In case you want to change it programmatically, Can you use dynamic sql, something like this?
Declare @server as nvarchar(50)
Declare @db as nvarchar(50)
Declare @schema as nvarchar(20)
Declare @select as nvarchar(max)
set @server =...
---------------------------------------------------------------------------------
October 5, 2009 at 2:04 am
john.knight-557608 (10/3/2009)
PP-564103 (8/31/2009)
venki.ffcl (12/29/2008)
hi,Can i have two or more instances of sql server running in my machine and access the same simultaneously. If yes how?
Please help...
thank you
Yes you can have...
---------------------------------------------------------------------------------
October 3, 2009 at 6:54 am
These will compile fine if the entire table does not exist. They will not compile if the table exists but the column you're referencing does not. It will...
---------------------------------------------------------------------------------
October 3, 2009 at 6:41 am
Thanks Jonathan.
Yeah it looks like I am not going to make it but I made some progress with that. I created a clr stored procedure which configures an assembly(...
---------------------------------------------------------------------------------
October 3, 2009 at 3:46 am
No shortcuts 😛
Guessing by your lines, I think you know the basics of sqlserver otherwise I would have directed to some books to read as a starting material. If...
---------------------------------------------------------------------------------
October 2, 2009 at 1:37 am
I think batch seperator is what is causing the problem and the USE statement, try this,
DECLARE @ChangeDatabase nvarchar(250)
Declare @database nvarchar(100)
SET @database = 'SQLSERVERCENTRAL'
SET @ChangeDatabase =...
---------------------------------------------------------------------------------
October 2, 2009 at 1:30 am
Roust_m (10/1/2009)
bitbucket-25253 (10/1/2009)
CREATE PROCEDURE Dbo.Garbage
AS
SELECT...
---------------------------------------------------------------------------------
October 2, 2009 at 12:37 am
I thought this is similar to the below requirement.
http://www.sqlservercentral.com/Forums/Topic794441-338-1.aspx
See if it helps and if not you can look at the format in which they have given the sample data...
---------------------------------------------------------------------------------
September 29, 2009 at 5:04 am
Sorry if I am underestimating your requirement, (it was not clear though) but i think 'CASE' statement should be useful,
look at the syntax and usage here.
http://msdn.microsoft.com/en-us/library/ms181765.aspx
If this does not...
---------------------------------------------------------------------------------
September 25, 2009 at 2:37 pm
AS per BOL,
order_by_expression
Specifies a column on which to sort. A sort column can be specified as a name or column alias, or a nonnegative integer representing the position of...
---------------------------------------------------------------------------------
September 25, 2009 at 2:33 pm
I linked Database 'HR' to Database 'Production' via SQL Server Object Explorer> Objects > Linked Servers.
You would typically use linked servers to access databases across 'servers'
The script in need I...
---------------------------------------------------------------------------------
September 25, 2009 at 1:53 am
I am sure there are lot of other elegant ways to do this and people would suggest. But see if this helps. (BTW please give the test data like this)....
---------------------------------------------------------------------------------
September 23, 2009 at 1:02 pm
blawrence (9/23/2009)
I have two databases that I linked.
How did you link the database?
I need to script?
You need to script the entire database?
(the databases are updated to the lastest...
---------------------------------------------------------------------------------
September 23, 2009 at 12:20 pm
dubem1-878067 (9/23/2009)
Then...
---------------------------------------------------------------------------------
September 23, 2009 at 12:08 pm
Viewing 15 posts - 346 through 360 (of 463 total)