Viewing 15 posts - 1,756 through 1,770 (of 2,038 total)
Hi
To find out which object is referenced by any other use:
SELECT OBJECT_NAME(referencing_id) referencing,
OBJECT_NAME(referenced_id) referenced,
*
...
March 25, 2009 at 11:23 am
Hi
What do your start/end parameter depend on? If they are relative to to the current date you can calculate them first and then call the procedure.
Greets
Flo
March 25, 2009 at 10:57 am
Hi
We have also some servers with SSE 2000 and SSE 2005 instances on same server. Since now we had no problems with this.
Greets
Flo
March 25, 2009 at 9:38 am
Hi
If you are using SQL Server 2005 or later you should have for the CREATE SYNONYM clause. Snippet from BOL:
EXEC sp_addlinkedserver Server_Remote;
GO
USE tempdb;
GO
CREATE SYNONYM MyEmployee FOR Server_Remote.AdventureWorks.HumanResources.Employee;
GO
Greets
Flo
March 25, 2009 at 9:20 am
There seems to be a problem with the forum...
Please use following link for replies: http://www.sqlservercentral.com/Forums/Topic683335-338-1.aspx
March 25, 2009 at 8:40 am
Hi
This works:
SELECT *
FROM OPENQUERY(LinkedServerName, 'EXECUTE RemoteDatabase.dbo.usp_test')
Greets
Flo
March 25, 2009 at 6:13 am
Hi
This works:
SELECT *
FROM OPENQUERY(LinkedServerName, 'EXECUTE RemoteDatabase.dbo.usp_test')
Greets
Flo
March 25, 2009 at 6:10 am
Hi
This works:
SELECT *
FROM OPENQUERY(LinkedServerName, 'EXECUTE RemoteDatabase.dbo.usp_test')
Greets
Flo
March 25, 2009 at 6:08 am
The data of your teacher already contain a specific person_id so you cannot use an IDENTITY column.
* First you have to insert the person with chief_id = NULL (the president)
*...
March 24, 2009 at 4:29 pm
Your personal table does not contain an entry with person_id "1".
Greets
Flo
March 24, 2009 at 4:09 pm
Hi
The script cannot work. First you drop the PERSONAL table (if not only part of this sample).
If the DROP was just for the example ensure that your foreign keys point...
March 24, 2009 at 4:04 pm
Hi
The permissions are not needed for the INFORMATION_SCHEMA.COLUMNS but for the objects.
You have to GRANT the "VIEW DEFINITION" privilege for the tables to show the defaults for. (I hope this...
March 24, 2009 at 3:50 pm
H Ganesh
This depends on definition of this view. Use this on master (maybe works also on other database) to see the view creation statement:
DECLARE @v-2 nvarchar(max)
SELECT @v-2 = definition from...
March 24, 2009 at 3:28 pm
andrewd.smith (3/24/2009)
March 24, 2009 at 3:05 pm
Hi
You can use a recursive CTE with a counter like this:
DECLARE @t TABLE (id INT, product VARCHAR(100), qty INT)
INSERT INTO @t
SELECT...
March 24, 2009 at 3:00 pm
Viewing 15 posts - 1,756 through 1,770 (of 2,038 total)