Who is right? Sql 2005 SSMS view of table or INFORMATION_SCHEMA?

We scripted an old sql 2005 table under Management Studio and got this:
CREATE TABLE [dbo].[TestTable](
 [myId] [int] IDENTITY(1,1) NOT NULL,
 [Item_#] [char](8) NOT NULL, 
 [Count] [smallint] NOT NULL,
 [ProductName] [char](45) NOT NULL,
 [U_Item_#]  AS (upper([Item_#])),
Notice that U_Item_# computed column appears in the 5th ordinal position from the top.
Next I ran this query:
     select table_ProductName, column_ProductName, ordinal_position
     From INFORMATION_SCHEMA.COLUMNS
     where table_ProductName = 'TestTable'
Results returned:
table_Name      column_Name       ordinal_position
TestTable         myId                   1
TestTable         Item_#                2
TestTable         U_Item_#            3
TestTable         Count                   4
TestTable         ProductName        5
TestTable         U_ProductName     6
Notice that  U_Item_# is now in ordinal positon 3 which is not the same as that returned by the script.
Which  one is to be believed? (SSMS or INFORMATION_SCHEMA.COLUMNS)
TIA,
edm2

This is what I got in SQL Server 2014, same as CREATE TABLE:
select table_name, column_name, ordinal_position
From INFORMATION_SCHEMA.COLUMNS
where table_name = 'TestTable'
TABLE_NAME COLUMN_NAME ORDINAL_POSITION
TestTable myId 1
TestTable Item_# 2
TestTable Count 3
TestTable ProductName 4
TestTable U_Item_# 5
Kalman Toth Database & OLAP Architect
SQL Server 2014 Design & Programming
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

Similar Messages

  • MS-SQL 2005 Defined Views Not Showing Up In CR 10

    Post Author: fgriffin
    CA Forum: Data Connectivity and SQL
    I have two SQL servers one is a MS-SQL 2005 and I have several defined Views on both servers. In CR 10 I can see the Views I have defined on the older version of SQL  but I can't see the defined views on the MS-SQL 2005 server. Any ideas? Is this a known issue? Much Thanks! Frank

    Hello Paul,
    perhaps you might want to ask this question in the http://scn.sap.com/community/crystal-reports Space too, as the Crystal Reports experts usually watch that Space - so you might get an answer there sooner.
    Best regards,
    Laszlo

  • How to create linked server in sql 2005 to access free table visual foxpro 9 step by step

    Hi All, I want to connect to dbf file visual foxpro by using linked server in sql 2005, but i can't do, i hope getting best anwser from every body in forum.
    Thanks all.

    Hi doanpq,
    Please download and install OLE DB Provider for Visual FoxPro 9.0, which exposes OLE DB interfaces that you can use to access Visual FoxPro databases and tables from other programming languages and applications. Please see:
    http://www.microsoft.com/en-us/download/details.aspx?id=14839
    Then, please follow up the following article to create a linked server:
    Creating Linked Servers:
    http://technet.microsoft.com/en-us/library/ff772782(v=sql.105).aspx
    For more information, you can also take a look at the following article, especially Dave K's comment:
    http://blog.dbase.integralwebsolutions.co.za/2008/10/accessing-your-dbf-tables-via-linked.html
    Elvis Long
    TechNet Community Support

  • Creating tables on SQL studio and viewing the table in the SAP system

    i have just created a table using the SQL studio and wants to use it view it in the SAP system using the SAP logon. till now i have not found a way to create it therefore any help is much appreciated.

    Hmm... you want to see tables via SAPLogon ??
    Ok, let's assume you really want to access tables via ABAP instead.
    For that you've two options:
    1. Create the table in the ABAP dictonary (SE11) exactly like you created it in the database and activate the table.
    After that you can access the table via SE16 or any ABAP as you like.
    2. You don't create the table in the ABAP dictonary and use native SQL to access the data.
    Neither of these options is meant to be the way to do it.
    The correct way would be to design the whole table in the ABAP dictionary and create the table on the database from that.
    regards,
    Lars

  • Client cannon select SQL 2005

    Hello,
    I have some problems when i install SAP 2007A client on Windows XP SP2 client that when i start te client i cannot select the right SQL 2005 server. I only see MS SQL??
    On other clients its works fine.
    Can somebody help me?
    Thanks

    I had this exact same problem this morning. Solved it as follows:
    Uninstall SBO Client
    Install Windows Installer Version 3.1
    Install SQL Native Client 2005
    Install SBO Client
    If you need any of those installs let me know and I can mail it to you, but it's installer packages, so maybe your e-mail won't allow them. It's about 3.5 and 2.5MB each.
    Hope it helps,
    Adele

  • Connecting to SQL 2005 from Oracle error

    I have an Oracle Database and SQL Database on the same server and wants to use odbc to connect to the SQL 2005 database and query tables of my choice.
    I did configured the ODBC correctly and called the DSN TSH_ARCHIVE. I have tested it and it works great. But each time I run the following query I get error:
    SQL> select count(*) from BALANCES_HS@tse_archive;
    select count(*) from BALANCES_HS@tse_archive
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Any suggestion and help will be greatly appreciated.
    Edited by: azaza on Jan 28, 2010 6:32 AM

    Hi,
    Thanks for the files.
    There are some problems with the configuration.
    listener.ora -
    LISTENERTSE_ARCHIVE =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TSE_ARCHIVE)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    (PROGRAM=hsodbc)
    (SID_DESC=
    (SID_NAME=tpisdb06)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    This should be -
    LISTENERTSE_ARCHIVE =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENERTSE_ARCHIVE =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TSE_ARCHIVE)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    (PROGRAM=dg4odbc)
    (SID_DESC=
    (SID_NAME=tpisdb06)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    The SID_LIST_LISTENER needs to match the actual listener name and the program for 11g DG4ODBC is called dg4odbc and not hsodbc.
    tnsnames.ora -
    TSE_ARCHIVE =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = TSE_ARCHIVE)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSE_ARCHIVE)
    (HS=OK)
    The HOST name - TSE_ARCHIVE does not match the HOST in the listener, so it should be -
    TSE_ARCHIVE =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSE_ARCHIVE)
    (HS=OK)
    I've changed the actual name to xxxxx so replace that with the name in the original file.
    Change the files, stop and start the listener then try again.
    If you still have an ora-12154 error then send the output from the following SQL -
    select db_link, host from user_db_links; <=== as the user getting the error
    and
    select db_link, host from dba_db_links; <===== as a DBA user
    Regards,
    Mike

  • View what queries have been run in SQL 2005

    I've been asked to have a look at building an MI mart from a transactional DB.  The source Db is in SQL 2005. The transaction logs are showing that there are approx. 35-40 timeouts per day while the quantity of transactions written is  <1000
    per day. 
    Currently reporting is coming off of the source using nested views which I suspect are causing these timeouts.  Without using any third party tools, I'm thinking the best way to see sys.dm_exec_sql_text but I do not have access to run this.  Any ideas
    for work around ?

    Hi nick,
    According to your description, you can use SQL Server Profiler and use a filter on it to get the most expensive queries. A standard trace with the Lock Timeout event and Deadlock Graph events should can help you
    monitor when time-out conditions occur ,when deadlocks occur , which objects are involved and so on. Most timeouts may are caused by not having a good set of indexes for your workload.
    For more information about SQL Server Profiler,
    Lock: Timeout Event Class. You can review the following articles.
    http://msdn.microsoft.com/en-us/library/ms190378.aspx
    http://msdn.microsoft.com/en-us/library/ms189107.aspx
    In addition, if you want to run the function of “sys.dm_exec_sql_text”, you need to require VIEW SERVER STATE permission on the server. Your DBA can grant the permission via the following T-SQL statement:
    USE master;
    GRANT VIEW SERVER STATE TO <your account name>;
    GO
    Thanks,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • Creating Views with DI APIs DoQuery-Method in SQL 2005

    Hi @All,
    I've had the following (solved) problem:
    The DB installer of one of our AddOns is also creating a bunsh of views for our UDTs. The installer always executes the following two statements for each view:
    IF OBJECT_ID ('[dbo].[@NSP_EXAMPLE_VIEW]', 'V' ) IS NOT NULL
        DROP VIEW  [dbo].[@NSP_EXAMPLE_VIEW];
    CREATE VIEW [dbo].[@NSP_EXAMPLE_VIEW] AS
    SELECT
         T0.U_Field3,
         T1.U_Field1,
    FROM
         [dbo].[@NSP_A] T0 INNER JOIN
         [dbo].[@NSP_B] T1 ON
         T0.U_Key=T1.U_Key  AND
         T0.U_CostNo=T1.U_CostNo;
    This has worked fine for the first 3 views we need. Then came the 4th view and we get an exception from the doQuery. I had to change the SQL-2005 compatibility level back to 80 to create the 4th view because of an incompatible "FOR BROWSE"-statement.
    When it was created under level 80 I saw the problem: ONLY the 4th view was extended with the "FOR BROWSE"-Statement by DI-API. I didn't see any difference in the 4th VIEW-statement which could be the reason that only this one gets the "FOR BROWSE"
    Anyway! Big thanks to  John Mackin and the users of this thread:
    [Formatted search;
    Adding an SQL-comment "--FOR BROWSE" at the end of the VIEW-creation statement has solved the problem.
    (I hope the DI-API query parser will not change this behaviour in the future :-o )
    Cheers,
    Roland

    Thanks for the replies, but casting gave me the original 'General Error' as well.
    I tried to make a stored procedure out of it. I used this page as a guide:
    http://www.davidhayden.com/blog/dave/archive/2005/12/30/2652.aspx
    The stored procedure looks like this:
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    CREATE PROCEDURE [dbo].[TestItems]
        @PageIndex INT,
        @PageSize INT
    AS
    BEGIN
    WITH tmpItems AS (
    SELECT ROW_NUMBER() OVER (ORDER BY ItemCode DESC)AS Row, ItemCode, ItemName
    FROM OITM)
    SELECT ItemCode, ItemName
    FROM tmpItems
    WHERE Row between (@PageIndex - 1) * @PageSize + 1 and @PageIndex*@PageSize
    END
    I am able to call this stored procedure like this:
    exec TestItems 10, 10  -- (returns item 91 to 100).
    This solution meets my immediate requirements, but I don't like the fact that I added the stored procedure to the administration itself. Is it possible to add the stored procedure to a different database and still use the DI server?
    Thanks for your time!
    Vincent

  • Bad Performance on SQL 2005 multiserver installation

    We have upgraded our server environment from  a single server solution with SQL 2000 and are now running on a multiserver solution with one DB server with SQL 2005 and two applictionservers.
    And now we are experience a much slower performance in our new environment on all EVDRE reports. Is there anyone who know about any issue with a multiserver environment or SQL 2005 that makes the reports slower?
    In our more advanced report with "expand by sheet" that took about 1 minute to expand on our old environment can take up to 10 minutes to expand in our new environment.
    Both servers are running BPC 5.1 SP5 patch 1

    The SQL Server version is very good and the performance problems should not come from there.
    Please make sure you check the document from sd regarding
    SAP_BPC_Performance_Tuning_Guide.doc to be sure you have the right configuration for OLAP and SQL and also application server.
    Can you please provide an information regarding what kind of configuration do you have into this multiserver environment?
    It is important also nr. of processors and memory for each server.
    Do you have a maintenance plan for your SQL server database?
    If you don't have that can cause again a big problem regarding performances.
    Please run into management studio exec sp_updatestats for you database to be sure that you have at least update statistics.
    So all these things mentioned before should be managed carefully to be sure that you have good performances into system.
    From application point of view make sure that you schedule lite optimize to be sure that you don't have more than 40000 rows into wb table.
    Regards
    Sorin Radulescu

  • SQL 2005 and CF 5.0

    I think I created a table without the field 'System_ID' when
    first migrating from SQL 2000 to SQL 2005 and now I can not get CF
    5.0 to refresh its view of SQL 2005.
    I get the following error when running SQL 2005 and CF 5.0,
    but have no problems when running SQL 2000 and CF 5.0 nor when
    running SQL 2005 and CF 2008 trial version. If I delete the
    'system_id' from the SELECT statement it works too.
    I get the same error if I delete the table, or if I delete
    the entire database. The only thing that causes other errors is
    when I shut down the server or delete ODBC connection. I have
    rebooted the entire server (Server 2003), shut down the SQL 2005 -
    anything I could think of to clear buffers. The other thousand
    lines of CF code and about 100 tables works fine and interfaces
    nicely with a .NET application and Crystal Reports.
    Short of spending $1200 to upgrade or renaming tables or
    databases, does anyone an idea of how to get around this.
    Thank you in advance,
    Bill
    Error Diagnostic Information
    ODBC Error Code = S0022 (Column not found)
    [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column
    name 'system_id'.
    SQL = "select segment_id, segment_name, system_id from
    Segment"
    Data Source = "GIS_CABLE_FAULT_2005"
    The error occurred while processing an element with a general
    identifier of (CFQUERY), occupying document position (13:1) to
    (13:62) in the template file F:\TYSIMSCF\FAULTS.CFM.
    Date/Time: 09/02/08 11:26:49
    Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR
    3.0.04506.648; .NET CLR 3.5.21022)
    Remote Address: 163.241.120.106
    HTTP Referrer:
    http://usy45ap0n/tysimscf/default.cfm

    FYI -- typically, forward looking statements are discouraged on these forums...and authoritative future information is definitely not encouraged...anyone who knows the answer would be barred from revealing it as it would be proprietary information, not for disclosure.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Windows authentication for SQL 2005 DB connect

    Hi all,
    I'm trying to create a DB connect
    in the connection parameters when I mention a user name and password who is created as a SQL authentication then it is working fine.
    but in my connection parameters if I mention a user name password who have a Windows authentication in the SQL 2005 which we are trying to connect then it gives an error. It is not connecting .
    Can you please tell me how can we connect using a windows authentication.
    Mey

    Solution to solve the actual issue :
    For the SAP system to use standard default NT authentication
    Please refer to this link: http://help.sap.com/saphelp_nw04s/helpdata/en/9c/d736b880c34f76b507bac7751a0474/content.htm
    1.       Database login:
    SQL Server login with System Administrator privileges, that is this login should be member of the sysadmin fixed server role on the target SQL Server. If such a login does not exist, you have to create it on the target SQL Server. The SAP multi-connect mechanism allows both integrated security logins and the use of SQL Server authentication. For security reasons, we highly recommend to use integrated security (Windows authentication). If you use Windows security, leave this field empty.
    2.     &#61601;        Password / Re-enter password :
    If you have decided to use integrated security, leave these fields empty. Otherwise enter the password of the SQL Server login.
    The above pointer was used to solve the login issue but we still had issues in getting the schema visible in SAP BW. As the user ID was left blank we were not able to get the schema view for the <blank> user.
    Note to be applied to solve the Schema issue :
    note 1091929 : &#61664; Link
    so now you can enter the schema to be used in DS creaton screen.

  • B1i (2005) installation failedSo far:  windows XP, MS-SQL 2005 express: ok

    Dear All,
    I try to install B1i for NW 2005 on a SBO 2005B installation. I have installed all prerequisites like JDK, MSXML, Tomcat (no blanks in path). When running the setup program and after all information gathered, the connection to the MS-SQL 2005 database succeeds and the final installation step starts but returns the message:
    "Initail database failed, make sure Tomcat or mini-http is shut down and please check your database's status and try again"
    Looking into MS-SQL shows a database beeing created named localhost/B1i. Tomcat and mini-http are definately shut down. When starting Tomcat, it is accessible via http://localhost:8080.
    System Parameters:
    windows server 2003
    SBO 2005B
    java: 1.4.2.19
    tomcat 5.5.27 including compat package for 1.4.2.19)
    sql jdbc 1.2.2828.100
    msxml 4.0 SP 2
    I can not find an error in the system. Is there a way to diagnose what is happening and does anyone have an idea where the problem lies?
    Ciao, Mathias
    [Update]
    I have tried JDBC 2.0.1008 and JDBC 2.0.1607 - both lead to a fatal error when trying to connect to the database. I assume this is due to Java JDK 1.4.2 as JDBC requires Java 5.0 (1.5.0)
    Does anybody know if I can use JDK 1.5.0_17 instead of 1.4.2_19?
    [Update 2]
    I have tried to install the B1i on two other servers with identical setup and it worked. However, this will not help me with this machine... On the other side, it shows, that there is nothing wrong with the procedure I am using
    I found by the way: B1i works fine with MSSQL 2005 Express, it works with jdk 1.5.0.17 (and then JDBC 2.0)
    [Update 3]
    So far:
    windows XP, MS-SQL 2005 express: ok
    windows XP, MS-SQL 2005 express, SBO2005A: ok
    windows 2003, MS-SQL 2005 SBO2005A: fail
    windows 2003, MS-SQL 2005 SBO2005B: fail
    windows 2003, MS-SQL 2005 SBO2007A: ok
    windows 2003, MS-SQL 2005 Netweaver 2004S: fail
    Unfortunately the three servers where it fails are the ones I need to use for production
    The precise error state is that the install routine creates the database in SQL 2005 and then reports that it can not create the database. Is there something I should check in SQL 2005?
    Edited by: Mathias Wilhelm on Feb 11, 2009 5:17 PM

    Salut Eddy,
    I tried it with tomcat 5.0.30 - no success. JDK is 1.4.2.19
    I tried it with tomcat 5.5.27 - no success. JDK was 1.4.2.19 and 1.5.17
    I checked the database: The structure is created but the tables are not created. As the user 'sa' has full admin rights it must be with the access path to the database that is wrong. What I do not understand is, why the installation routine is able to connect to the database to create B1i and then unable to create the tables. I checked in the log files of the db and found no error messages. I tested this as well by using a wrong password for sa or a wrong user. In both cases, the installation routine fails already when checing the existence of B1i database
    [Update]
    In the meantime:
    Checked permissions on database
    Checked that administrator is member of local admin group
    Checked JAVA_HOME environment variable
    Found collation SQL_Latin1_General_CP1_CI_AS for working setup and SQL_Latin1_General_CP1_CS_AS in failing setup
    Checked all security settings by comparing to working setup
    Checked event viewer and found no errors
    Checked all log files and found no errors
    Checked that sa can create tables manually in localhost\B1i
    Ciao, Mathias
    Edited by: Mathias Wilhelm on Feb 12, 2009 2:36 PM

  • Maintenance Plan Issue in SQL 2005

    Hi All,
    In SQL 2005 server maintenance plans are not active. If we execute maintenance plan manually, it will show as success but actually it is not running and history also not recording.
    Server Details:
    Product version: 9.00.1399.06
    Product Level: RTM
    Product Edition: Developer Edition
    OS: Windows server 2003 with SP2, Enterprise Edition
    We are able to create maintenance plans, also SQL agent jobs are running fine.
    But maintenance plans are not working.
    Can anyone please suggest, what will be the problem.
    Thanks in advance.

    Hi Ashwin,
    Thanks for your immediate reply.
    Sure will apply SP4 asap.
    Maintenance plan created to take backups, when I right click and execute maintenance plan, it will show as success but backups are not happening, also in view history nothing is recording.
    Actually no maintenance plan is working on this server.
    If I modify any maintenance plan while saving modifications, it is showing bellow message. But changes are reflecting in maintenance plan
    Message:
    Guid should contain 32 digits with 4 dashes ( xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx)
    Ex: Right clicked on backup maintenance plan and selected modify.
    then added one more database name in backup list and while saving changes, we are getting above message.

  • Updaing SQL 2005 Report Builder Reports (based on Report Models) to SQL 2012 Report Builder Reports?

    We are upgrading from SQL 2005 to SQL 2012 directly (no SQL 2008 to be installed).  We have many SSRS Reports written in Report Builder 1.0 against Report Models generated from an OLAP datasource.  In SQL 2012, Report Models can no longer
    be created or edited.  I have found many posts on this topic, including this: 
    http://social.msdn.microsoft.com/Forums/en-US/896522da-45c3-46c0-848a-16f8f02ab051/how-to-upgrade-report-models-from-report-builder-1020-to-30. which the 'answered' response states: 
    SQL Server 2012 Reporting Services does not include tools for creating or updating report models. Although you can continue
    to use existing report models as data sources in SQL Server 2012 Reporting Services reports you should consider updating your reports to remove their dependency on report models.
    But I cannot locate any instructions/documentation, etc. on how to go about "updating your reports to remove
    their dependency on report models.".  How do I take existing Report Builder 1.0 reports that point to Report Models and upgrade them to the new SQL 2012 without Report Models?  Is there a way to convert them?  Or, do they need to be rewritten
    from scratch?  If there is a link to these instructions, please post as I cannot locate it any where.  Thank you.

    Katherine thank you for helping with this.  Here is what I have tried:
    On the Report Manager (2012) site, I created a new OLAP data source.  And when I test the connection, I get the pop up "Connection created successfully."
    I then pointed my Report Builder (v1.0) report to this new Data Source (from Report Manager site, selected 'Manage' for the report, from Data Sources, selected Browse and drilled down to the new Data Source I created and selected Apply). 
    Now when I try to View the report, I receive the following error:
    An error has occurred during report processing. (rsProcessingAborted) Query execution failed for dataset 'paramDataSet'. (rsErrorExecutingCommand) The SemanticQuery element at line 7, column 279 (namespace http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling)
    cannot appear under Envelope/Body/Execute/Command.
    I then exited IE and reopened the Report Manager site.  I opened Report Builder 3.0,, selected Open and opened this same report.  Idrilled donw to Data Sources and  right clicked on dataSource1 (the only one listed) and selected Data
    Source Properties.  I kept the same name, but selected the new shared datasource I created (New DataSource), and selected OK.
    Next, I drilled down to Datasets.  There are two listed, dataSet and paramDataSet (yes, this report has parameters).  I right clicked on the dataSet and selected dataSet properties, and see that it points to dataSource1 (which is the dataSource
    I just pointed to my New DataSource).  I cancelled and checked the Data Source for paramDataSet, and it also points to dataSource1.  Selected cancel and went back to the main dataSet.
    So both datasets point to the new DataSource I created.
    If I select Run, I get the following error: 
    I select OK and right click on dataSet and select Refresh Fields and get this error:
    Can you (anyone) please explain what I am doing incorrectly?  Thank you.

  • Browse Data & Parameter flds no longer fully populated after upgd  SQL 2005

    I upgrade our SQL 2000 Server last weekend to SQL 2005 (sp2).
    Now our Crystal reports that access SQL data are not working correctly. Parameter Fields are showing little to no data, where before the upgrade we were seeing many more rows in the list.
    Digging further, I looked at the fields used for the dynamic LOV. If I use Browse Data on those fields I am seeing the same lack of data. One "Browse Data" that would typically return 80 items now returns 3 items. In that report the data field is DateTime. In another report, the field is string.
    I am also seeing an extra check for User Name and password before getting to the Enter values screen for the parameter.
    I am using Crystal Developer 11.0.0.1994. It is happening on multiple PCs. I tried with both the original SQL ODBC Driver and the newer SQL Native Client ODBC driver, with the same result.
    I've looked at this for 3 days with no luck. Any ideas?

    Full SysAdmin rights.
    I use a dedicated ODBC connection and have tried both "SQL Server" odbc driver and "SQL NativeClient" (2005) odbc driver.
    If I go to Crystal, to the Field Explorer, to the one of the fields, right-click and "Browse Data..." I get two results (I expect 82 results and have seen that in the past.) If I paste the query from Crystal, Database, "Show SQL Query.."  to SQL Server Management Studio, I see the full, correct results.
    In one example the field browsed is called "PeriodEndDate" (DateTime). A dynamic Parameter Field was created accessing this field. Here is the security curiosity...refreshing now asks for the user login each time "Prompt for new parameter values" is selected. It used to ask only the first time. The Crystal: Data Explorer" shows the current connection logged in ok.
    The two issues may or may not be related. Certainly if #1 were fixed, dynamic parameters would return the correct results. Even if it asked for the password each time.
    1.) "Browse Data" returning a smaller result than normal.
    2.) "Parameter Prompt" asks for Server Name, Database Name, User Name, and Password on
         each refresh selecting "Prompt for new parameter values".

Maybe you are looking for

  • Error in upgrading weblogic server 10.3.2 to 10.3.6

    Hi, I have installed weblogic 10.3.2 in my host, and now i want to upgrade it to 10.3.6. I downloaded the patch(p14142550_1036_Generic)in mos, unzip it to the directory /scratch/dadaliu/weblogic1032/utils/bsu/cache_dir,the file in cache_dir are JSES.

  • New nano and the broken shuffle that won't go away in iTunes

    Situation: Had a 512 Shuffle for less than a year before it fizzled out. Bought a new 1G nano just this week. Love it but some problems with iTunes. (Running Windows XP) The ONLY time that iTunes will recognize the new nano and let me update it is if

  • Retina Display in LR 4.3

    How do you use the Retina Display in LR 4.3? Thanks, Joe

  • This application requires Internet Explorer 6.x or Greater to Run

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/1044281 /questions/1044281]'' Any solutions for below message? "This application requires Internet Explorer 6.x or Greater to Run"

  • Can I buy an extra 16 GB of RAM for my iMac?

    My computer specs are as follows: iMac 21.5-inch, Mid 2011 Processor: 2.5 GHz Intel Core i5 Memory: 4 GB 1333 MHz DDR3 Graphics: AMD Radeon HD 6750M 512 MB Running OS X 10.9.2 Can I buy two 8 GB sticks of RAM, adding an extra 16 GB to my iMac? I real