Invalid Semantic Model

Feb 24, 2006

Hello

While following the instructions on the tutorial "Creating a Report Model Based on an Analysis Services Cube", I got this error when trying to create the report model:

The semantic model is not valid. Details: The element 'Entity' in namespace 'http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling' has incomplete content. List of possible elements expected: 'IdentifyingAttributes' in namespace 'http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling'. (InvalidSemanticModel)



I have tried to use a SSAS cube of my own, which is working fine and tried to create a model based on it so I can create ad-hoc reports.



Parameters chosen on the data source creation:

Connection Type: Microsoft SSAS

Connection String: Data Source=localhostSQL2005;Initial Catalog="TAP Analysis"

Connect Using: Windows Integrated Security



To SSAS using the Microsoft SQL Server Management Studio, I use Windows Authentication.



In the model creation, I have tried to switch to other credentials, but the error still remains... Can you help me with this one?

Thanks

André

View 5 Replies


ADVERTISEMENT

Semantic Model

Mar 8, 2006

Hello,



I got the following error while trying to create a report model:

The semantic model is not valid. Details: The element 'Entity' in namespace 'http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling' has incomplete content. List of possible elements expected: 'IdentifyingAttributes' in namespace 'http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling'. Line 943, position 3. (rsModelingError) (Report Services SOAP Proxy Source)

------------------------------
For help, click: http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsModelingError&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=9.00.1399.00

------------------------------
Program Location:

at Microsoft.SqlServer.Management.UI.RSClient.RSClientConnection.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties)
at Microsoft.SqlServer.Management.UI.RSWrapper.NodeDataSource.GenerateModel(String name, String folderpath, String description)
at Microsoft.SqlServer.Management.UI.RSUserInterface.DataSourcePropertiesGenerateModel.OnRunNow(Object sender)
at Microsoft.SqlServer.Management.SqlMgmt.PanelExecutionHandler.Run(RunType runType, Object sender)
at Microsoft.SqlServer.Management.SqlMgmt.ViewSwitcherControlsManager.RunNow(RunType runType, Object sender)



I've searched every forum and every page from microsoft but couldn't find a single reference about this problem. I don't know what to do and I really need to get this model working fine for report builder

Can you help me?

André

View 9 Replies View Related

Report Model Deployment : The Model ID Of The Submitted Model Must Match That Of The

Dec 5, 2005

Running 2005 Beta 3 Refresh.  When I first deploy, it works fine. Subsequent deployments yield the following error:

View 9 Replies View Related

Semantic Constraint

Mar 23, 2006

Hi all:

Just joined forums, so a big hello to you all :)

Just wondering if someone could explain the following two terms too me?

*Semantic Constraint
*Access Control

Are there limitations each can impose within a relational database?

Many thanks

Olly :D

View 14 Replies View Related

Latent Semantic Analysis (LSA)

Aug 26, 2006

Does SQL 2005 offer any tools to perform Latent Semantic Analysis on large data sets? Say I have millions of daily search queries and I'd like to link queries to one another based on semantic content with a goal of mapping them to larger "categories" . One way of doing this is to compare word frequency and proximity to construct a semantic "weight space". This is the approach generally used in LSA.

Anyone using SQL 2005 for this? Anyone see a way it could be done?

View 4 Replies View Related

How To Deploy Semantic Models Manually?

Oct 5, 2005

Using SQL Server 2005 Business Intelligence Studio, I created a Data Source (Test.ds), Data Source View (Test.dsv), and a Report Model (Test.smdl). It is very easy to deploy this model into a Report Server, from the Business Intelligence Studio, by right clicking the Report Model Project and choosing 'Deploy'.

View 9 Replies View Related

Reporting Services 2005 Semantic Query Error

Sep 20, 2007



I recently changed my datasource in our Reporting Service Model. We changed to a quicker SQL server with disk capacity. I am able to run new reports but when I try to run old ones that were on the old datasource, I get an error. The datasource has been changed to point to the new server (datasource).

The error is: An error has occurred during report processing. (rsProcessingAborted)
Semantic query compilation failed: e EmptySemanticQuery The SemanticQuery does not contain any Groupings or MeasureGroups. SemanticQuery must contain at least one of these elements. (SemanticQuery ''). (rsSemanticQueryEngineError)

I will appreciate any help.

Nick

View 11 Replies View Related

Report Bulider - Semantic Query Syntax Error

Apr 27, 2008

Hi,

I am having trouble getting the following query to execute in the report builder:


OPEN Symmetric KEY DemoKey Decryption BY Certificate DemoCertificate;
SELECT

PIN,
EffDate,
Cast(DecryptByKey(Address1) AS varchar(200)) AS Address1,
Cast(DecryptByKey(Address2) AS varchar(200)) AS Address2,
Cast(DecryptByKey(Address3) AS varchar(200)) AS Address3,
Cast(DecryptByKey(City) AS varchar(125)) AS City,
Cast(DecryptByKey(State) AS varchar(125)) AS State,
Cast(DecryptByKey(ZipCode) AS varchar(90)) AS ZipCode,
Cast(DecryptByKey(Country) AS varchar(125)) AS Country
FROM Address
CLOSE Symmetric KEY DemoKey;

I am getting the following error when I try to generate a report in the report builder:

Semantic query execution failed. Incorrect syntax near the keyword 'Open'.
Incorrect syntax near ')'.
----------------------------
Query execution failed for data set 'dataSet'.
----------------------------
An error has occurred during report processing.

I was getting a similar error when I tried to enter the query using the Named Query window of the dsv file. However, I was able to overcome this obstacle by entering the query directly into the code of the dsv file and it works perfectly. That is, when I click on "Explore Data" in the dsv design view the data is retrieved from the database and is decrypted properly.

It appears that the report builder's semantic query engine does not accept transact-sql statements that involve data decryption. Does anybody know if this is true? Or is there some workaround for this situation? Any help would be greatly appreciated.

Thanks,

Mark

View 5 Replies View Related

Report Builder Bug?: Semantic Query Execution Failed. Incorrect Syntax Near 'NULLAND'.

Sep 3, 2007

Hi

I get the following error when running a report in report builder using the Adventureworks sample model:
Semantic query execution failed. Incorrect syntax near 'NULLAND'.----------------------------Query execution failed for data set 'dataSet'.----------------------------An error has occurred during report processing.

Here is how to replicate the error:


Create a table report using the Adventure Works model.
Select Product entity, add Product Category and #Products to the table.
Edit formula for #Products to "COUNT(Products)" and add a filter on Products for "Discontinued Date is empty". (I want a count of products that have not been discontinued).
If you run the report now, it willl work as expected.
Add a report filter for "Product.Color is empty" (I only want to see products that don't have a color)
Run the report to get the above error.
While the above is a contrived example, I am getting the same error on a data model that I am developing for a customer.

Am I missing something, or is this a bug in Report Builder?

Thanks

View 2 Replies View Related

SQLDescribeParam With Subselect: Invalid Parameter Number/Invalid Descriptor Index

Apr 21, 2008

Hello,

I've got the following query:

SELECT zA."ID" AS fA_A
, zA."TEXT" AS fA_B
, (
SELECT COUNT(zC."ID")
FROM Test."Booking" AS zC
) AS fA_E
FROM Test."Stack" AS zA
WHERE zA."ID" = ?

With this query I call:
- SQLPrepare -> SQL_SUCCESS=0
- SQLNumParams -> SQL_SUCCESS=0, pcpar = 1
- SQLDescribeParam( 1 ) -> SQL_ERROR=-1, [Microsoft][ODBC SQL Server Driver]Invalid parameter number", "[Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index"

Is there a problem with this calling sequence or this query? Or is this a problem of SQL Server?

Regards
Markus

View 7 Replies View Related

Power Pivot :: Building A Model Based On Multinational Model With Different Languages?

Oct 19, 2015

I need to develop a language specific dwh, meaning that descriptions of products are available from a SAP system in multiple languages. English is the most important language and that is the standard. But, there are also requirements of countries that wants productdescriptions in their language. 

Productnr Productdesc Language
1            product       EN
1            produkt       DE

One option is to column the descriptions, but that is not very elegantly. I was thinking of using bridge tables to model this but you have to always select a language in a filter (I think)..

I'm thinking of a technical solution, such that when a user logs on, the language is determined and a view determines whether to pick a certain product table specific for a certain language. But then I don't have the opportunity to interchange the different language specific fields in a report (or in my case PowerPivot).

View 2 Replies View Related

Can We Pause Log Shipping, Bring Primary Db To Simple Recovery Model And Then Back To Full R Model?

Apr 25, 2008



We have the following scenario,

We have our Production server having database on which Few DTS packages execute every night. Most of them have Bulk Insert stored procedures running.

SO we have to set Recovery Model of the database to simple for that period of time, otherwise it will blow up our logs.

Is there any way we can set up log shipping between our production and standby server, but pause it for some time, set recovery model of primary db to simple, execute DTS Bulk Insert Jobs, Bring it Back to Full recovery Model AND finally bring back Log SHipping.

It it possible, if yes how can we achieve this.

If not what could be another DR solution in this scenario.

Thanks Much
Tejinder

View 6 Replies View Related

SQL Server 2014 :: Semantic Search Not Finding Keywords Identified By Full-Text Search?

Nov 6, 2014

I have a scenario of where the standard Full-Text search identifies keywords but Semantic Search does not recognize them as keywords. I'm hoping to understand why Semantic Search might not recognize them. The context this is being used in medical terminology and the specific key words I noticed missing right off the bat were medications.

For instance, if I put the following string into a FT indexed table

'J9355 - Trastuzumab (Herceptin)'
AND
'J9355 - Trastuzumab emtansine'

The Semantic Search recognized 'Herceptin' and 'Emtansine' but not 'Trastuzumab'

Nor in

'J8999 - Everolimus (Afinitor)'

It did not recognize 'Afinitor' as a keyword.

In all cases the Base of Full-Text did find those keywords and were identifiable using the dmvsys.dm_fts_index_keywords_by_document.It does show the index as having completed.

why certain words might not be picked up while others would be? Could it be a language/dictionary issue? I am using English and accent insensitive settings?

View 0 Replies View Related

Burning Issue - Conversion Of SQL Query To Semantic Query

Apr 7, 2007

Hi Everyone,



Currently, we are facing a serious problem of conversion from Sql Query to Semantic Query and we are looking for any API or Component that handles this conversion process.



Requirement Details:

I'd like to tell the story happened which lead us to this requirement. We want to convert Shazam Reports (SRW) to Reporting Services (RDL) reports that support Report Builder (semantic queries). So, we planned to convert the SRW query structure into a SQL query structure and later to Semantic Query, which is recognized by the Report Builder.



In that process, we've successfully developed a parser component that parses the SRW's query structure into standard Sql query structure but now we struggling, as we don't know how to convert an sql query into semantic query.



We are running out of time and any information towards the solution is a great help to us.



Hope I'd get some positive reply from you.



Regards,

Sinha

View 3 Replies View Related

MS Time Series - Quick To Process The Model But Takes Very Long Time To Open Mining Model Viewer

Oct 27, 2007

Hi all,

I have MS Time Seeries model using a database of over a thousand products each of which has hundreds of cases. It amazingly takes only a few minutes to finish processing the model, but when I click Mining Model Viewer to view the models, it takes many hours to show up. Once the window is open, I can choose model for different products almost instantly. Is this normal?

View 1 Replies View Related

Connected Model Vs. Disconnected Model

Aug 10, 2005

hi !!i have a question about the connected and disconnected model to access the Sql server DB.......i know that there is better to choose one rather than the other in some situantions and there is no better model in all cases...... os i hope you can help me to decide what shall i choose...i will use the DB to connect to Web services and read data from the DB and wrtie some data back.......i do not know that to use ..... i hope you advise me and tell me about the rules that will allow me to choose  what model to choose .... i appreciate your help!!Thanks !!!

View 2 Replies View Related

Error While Trying To Load The Mining Model In The Mining Model Viewer

Nov 15, 2006

I get the following error when I try to load the mining model in the mining model viewer

Query (1, 6) The '[System].[Microsoft].[AnalysisServices].[System].[DataMining].[NeuralNet].[GetAttributeValues]' function does not exist.

I get a similar error when I try to load the Load Mining Accuracy Chart

Failed to execute the query due to the following error:

Query (1, 6) The '[System].[Microsoft].[AnalysisServices].[System].[DataMining].[AllOther].[GenerateLiftTableUsingDatasource]' function does not exist.

I have OWC 11 installed. What am I missing here?

Thanks

View 7 Replies View Related

Model DB

Jun 6, 2001

Hello,

I just installed the enterprise edition of MS SQL Server 2000 in model database there are no store procedure. whereas in MS SQL Server 7.0 there are 18 SP so when I create the new db there is no SP only the one which I've created. Is it normal or did I miss something in installing

Thanks

Rea

View 1 Replies View Related

RUP & DB Model

Apr 9, 2008

Hi,

I'm new in SQL server DBA and in my company. There are about 40 applications in my company and since there's no DB document available, my boss has asked me to prepare a full documentation package about DB schema of each application. I'm going to use RUP method for that but I'm not sure of including which information in the package.

Any idea is appreciated

View 7 Replies View Related

Model Db

Apr 5, 2006

hi

I have changed the initial size of the model DB , now I want to change it again , but I want to make it smaller than the one it is currently can i do that

When I go the EM & try changing the file size it says :-

The new DBFile size must be larger than the current size

Regards
aki

View 2 Replies View Related

Invalid Value For Key 'attachdbfilename'.

Nov 8, 2006

HI,
 We upgraded to SQL Server 2005 Standard Edition for our ASP.NET 2.0 website.  We were using SQL Server Express 2005.  That worked fine.  Now we are unable to connect to the database.  I have googled, but I just cann't figure out what is going on.  Any help is appreciated.  Here is the error.
An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
In our firewall sqlbrowser.exe and sqlservr.exe are allowed.
Thanks Matt

View 11 Replies View Related

Invalid Object Name

Sep 27, 2007

Ok I'm trying to connect to my easycgi.com MSSQL database.I can connect OK.My ID is in the db_owner group.I can create and edit tables and data.I can open a table and see the data.I can view the SQL statement behind the open table (select * from Table) and execute it successfully.But if I open a new query window and type "select * from [table]" (or any other query), no matter which table it is, I get an error:Msg 208, Level 16, State 1, Line 1Invalid object name '[table name]'.I've searched the web and found this error plenty of times, usually associated with security or the schema. But all my objects are under dbo and I'm in db_owner... ??? 

View 6 Replies View Related

Invalid Connection

Jun 19, 2008

When trying to connect to a remote SQL 2005 Express Server, I get this error message:  [DBNETLIB][ConnectionOpen (ParseConnectParams()).]Invalid connection.
 I can remotely connect to the server with the same username and password using osql in command and I can also connect to the server remotely with SQL Server Management Studio installed on this machine.
 Here is my connection string:
 Provider=SQLOLEDB.1;Password=password;Persist Security Info=True;User ID=uid;Initial Catalog=EBM;Data Source=xxx.xxx.xxx.xxxSQLEXPRESS;Use Encryption for Data=False
 The same connection string works if connecting locally, via changing the ip address to the machine name:
Provider=SQLOLEDB.1;Password=password;Persist Security Info=True;User ID=uid;Initial Catalog=EBM;Data Source=machinenameSQLEXPRESS;Use Encryption for Data=False
 
Any help would be appreciated.

View 2 Replies View Related

Invalid Column Name

Mar 19, 2004

I get a Invalid Column Name ' '. with this procedure. Can anyone see what migh be wrong?

Thanks,

SELECT A.CompanyName,C.FirstName,C.LastName,C.Client_ID,
CASE WHEN A.[CompanyName] IS NULL OR A.[CompanyName] = '' THEN C.[FirstName] +" "+ C.[LastName] ELSE A.[CompanyName] END AS DRName, C.Client_ID
FROM tblClients C INNER JOIN tblClientAddresses A ON C.Client_ID = A.Client_ID
WHERE (C.Client_ID = 15057) AND (A.MailTo=1) AND Convert(varchar(5), GETDATE(), 10) BETWEEN Convert(varchar(5), A.Startdate, 10) AND Convert(varchar(5), A.Enddate, 10) OR (A.Startdate Is Null) AND (A.EndDate Is Null)
GO

View 3 Replies View Related

Invalid Column Name

Aug 19, 2004

Hi the following SP that causes an error.



CREATE PROCEDURE GetInfo
(
@MinPriceint=0,
@MaxPriceint=9999999999,
@TypeHomenvarchar(50)=NULL,
@Locationnvarchar(100)=NULL

)
AS

Declare @strSql nvarchar(255)
Set @strSql="Select * from table WHERE "
Set @strSql=@strSql + 'Price BETWEEN ' + CONVERT(nvarchar(20),@MinPrice) + ' and ' + CONVERT(nvarchar(20),@MaxPrice )

If @TypeHome != "No Preference"
Set @strSql=@strSql + ' and Type = ''' + @TypeHome+ ''''

If @Location != "No Preference"
Set @strSql=@strSql + ' and City = ''' + @Location+ ''''

Set @strSql=@strSql + ' and IDX = ''Y'' ORDER BY Price'
Exec(@strSql)
GO



The Error I get is:
"Error 207: Invalide Column Name 'Select * from table WHERE'
Invalid Column Name 'No Preference'
Invalid Column Name 'No Preference'

I have checked the table and the columns do exist, spelled correctly and caps are all the same. Also, this same SP in another table works just fine.

What is causing this error?

Thanks in advance!

View 1 Replies View Related

Invalid Connection

Mar 30, 2005

Hey everyone, hope you all can help me with this problem. 
We have a remotely hosted website, but we have a SQL server in our company (powers our instore portal).  I have set up our router so that i can connect to remote desktop and sql server.  I can connect to the remote desktop and i can connect to the sql server with query analyzer.  On our local site i can set up a connection to look at sqlserver.underpargolfutah.org and it works fine, everything goes well.
Now here is the problem.  On the hosted site i have set up the following
web.config >
<appSettings>
      <add key="sql_dsn" value="server=************.underpargolfutah.org;database=online;uid=sa;pwd=*******" />
</appSettings>
default.aspx >
Public Class shopDB   'publicly declare typical stuff for connections   Public conn As SqlConnection   Public cmd As SqlCommand   Public reader As SqlDataReader   Public dsn As String = ConfigurationSettings.AppSettings("sql_dsn").ToString   Public Function getBaseSelectionsByType(ByVal type)   'declare the connection   conn = New SqlConnection(dsn)   'declare command   cmd = New SqlCommand("SELECT * FROM category", conn)   'open the connection   conn.Open()   'grab data   reader = cmd.ExecuteReader(CommandBehavior.CloseConnection)   Return reader   End Function
End Class
This should all work but i get the following error
[SqlException: Invalid connection.]   System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +474   System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372   System.Data.SqlClient.SqlConnection.Open() +384   v3.shopDB.shopDB.getBaseSelectionsByType(Object type) in shopDB.vb:21   v3.shop_default.Page_Load(Object sender, EventArgs e) in default.aspx.vb:32   System.Web.UI.Control.OnLoad(EventArgs e) +67   System.Web.UI.Control.LoadRecursive() +35   System.Web.UI.Page.ProcessRequestMain() +742Any ideas? i am stumped.
Thanks in advance-Darren

View 1 Replies View Related

Invalid Column Name &#39;x&#39;

Feb 16, 2001

Can anyone tell me why I get the above message using the following stored procedure and passing in a value of 120:
CREATE Procedure qryAnalysisCountMain
(@WizardGroup1Question int)
As
EXEC("SELECT QuestionDescription FROM Questions WHERE QuestionCode = " + @WizardGroup1Question)

120 just happens to be the asci value of 'x' and whatever number I pass in gets converted into it's character equivalent and the sp tells me it can't find that column name. QuestionCode is an int field so there is no problem there

The procedure works OK with:
SELECT QuestionDescription FROM Questions WHERE QuestionCode = @WizardGroup1Question

However I need the SQL in an EXEC as the sp will eventually be dynamic so that i can pass in the name of the table to select from.

Thanks
Martin

View 1 Replies View Related

Invalid Column Name

Mar 30, 2004

Hi
I have a dynamic select statement which is showed below.
declare @query varchar(100)
set @query = 'select * from undergraduate where Gender =' + @Gender
exec (@query)

//
When I execute the @query, I get an error message like "Invalid Column Name Male".
I think I need to put a single quotation around the dynamic variable, so that I have
select * from undergraduate where Gender ='Male'. But I am not sure how to do that.

Thank you for your help!!

View 3 Replies View Related

Type Name Is Invalid

Jan 21, 2006

Dear guys

when am executing a stored procedure from asp page it will shows an err like this

"
Microsoft OLE DB Provider for SQL Server error '80040e30'

Type name is invalid
"
but the script and the database is perfectly working in local computer ..

what will be the reason.

regards jini

View 2 Replies View Related

Invalid Object

Jul 31, 2002

When running 'select * from <table> everyone gets 'invalid object' error. When they run 'select * from <database>.<objectowner>.<table> it works fine. This would lead one to believe that they're either not in their default database or that they don't own the objects. However this is not the case.

Why do they need to qualify everything if they're running from their own databaase, they own the object and they're logged in as the objectowner?

This was working fine one day but not the next. They connect using a DSN that's on a web server and they pass their login and password but not their database. I don't have this problem and can't duplicate anyone else's, but I'm not on the web server, I'm going directly to teh SQL server using Query Analyzer.

Any ideas??

View 1 Replies View Related

Invalid Object Name

Jul 12, 2005

I'm connecting to an SQL Server database through a Perl script (using Win32::ODBC). The connection seems to go through fine, as in, I get no errors. But even simple statements like "Select * from AccountTable" dont work. I get the error Invalid Object Name 'AccountTable'. The table exists and I even gave myself explicit permission for "SELECT" statements for that table.

Are there any other permissions that need to be set? The DSN defaults to the database that I need.

Any help would be most appreciated. I'm going mad here.
Thanks.
-Amrita

View 1 Replies View Related

Invalid Object Name

Feb 2, 2007

as i run my code (windows application) i get this error

Invalid object name 'dbo_TASk'.
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 0, current count = 1.

/****** Object: Stored Procedure dbo.stp_per_task_by_system_sel Script Date: DATE ******/
IF EXISTS (SELECT *
FROM dbo.sysobjects
WHERE id = OBJECT_ID(N'[dbo].[stp_per_task_by_system_sel]')
AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
DROP PROCEDURE [dbo].[stp_per_task_by_system_sel]
GO

CREATE PROCEDURE dbo.stp_per_task_by_system_sel
(
@sys_id int
)
AS
--------------------------------------------------------------------------------
-- Created by : Jacco B
-- Date created : 1-febrauri-2007
--------------------------------------------------------------------------------
-- Description : deze stp haalt de specefieke taken van een geselecteerd systeem uit de database
--------------------------------------------------------------------------------
-- Test string : stp_per_task_by_system_sel 'var'
--------------------------------------------------------------------------------
-- Change Log : Date By Description
-- -------- ------ ------------------------------------
--
--------------------------------------------------------------------------------
BEGIN
SET NOCOUNT ON
--declaratie locale variabelen
DECLARE @error integer,
@object_name varchar(30)

--begin transactie
SELECT @object_name = object_name(@@procid)
BEGIN TRAN @object_name

--begin procedure
SELECT SYSTEM_STANDARD_TASK.*, TASk.*
FROM SYSTEM_STANDARD_TASK INNER JOIN dbo_TASk ON SYSTEM_STANDARD_TASK.tas_id = TASk.tas_id
WHERE SYSTEM_STANDARD_TASK.sys_id = @sys_id



--Errorafhandeling
SELECT @error = @@error
IF @error <> 0
BEGIN
ROLLBACK TRAN @object_name
RETURN @error
END

--commit transactie
COMMIT TRAN @object_name
RETURN 0
END

GO


--grant exec to sql group
GRANT EXECUTE ON [dbo].[stp_per_task_by_system_sel] TO [PERIODIEK_USER]
GO

View 2 Replies View Related

Invalid Object Name Please Help

Feb 4, 2005

When i enter http://akor.alternatifim.com/
i get the error below

Microsoft OLE DB Provider for ODBC Drivers error '80040e37'

[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'tblSARKICIM'.

The SQL statement is so simple like

Select * from tblSARKICIM

However when i change the SQL statement Select * from lyric.tblSARKICIM

lyric is username and owner of the tables.


Problem is solved. I transfer the My SQL Server and then this problem occurs and i don't want change all my SQL statements.

What can i do?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved