By default users won’t have access to any objects. If the user doesn’t have access to query a table then they will not be able to view the table.
Someone anwered the question Clock Time (ms.) Total is the # of ms taken to execute the bcp…. select (Average)*(Clock Time (ms.) Total )/1000 = rows copied select 15281.25 *239.578 = 3661051
This gets a little involved, but if you break out the parts of this operation it isn’t too hard. > create a table to hold the results: tblnm = RESULTS cols = TBL_OWNR, TBL_NAME, COL_NAME, CNT, LITERAL > what we want to end up with is a list of queries, one qery for each column [...]
What is the error message that you are getting? SQL Dumper shouldn’t stop you from logging into the Server.
Not sure if it will work from mainframe COBOL, but from WINTEL COBOL (MicroFocus), this works: EXEC SQL SELECT COLUMN_NAME INTO :VARIABLE_NAME FROM TABLE_NAME WHERE COLUMN 1 = :VARIABLE1 AND COLUMN 2 = ‘Hard Coded Value’ END-EXEC. ============================================================ Since Microsoft is the DB vendor, all you need to do is obtain the appropriate ODBC or [...]
It shouldn’t be a problem at all. Just put the SQL 2005 drivers on the machines with the powerbuilder app. If that becomes a problem, just continue to use the SQL 2000 driver. Of course you’ll want to test before hand a SQL 2000 to SQL 2005 is a very big upgrade.
Yes you can connect an application written in Visual Studio 2003 to a SQL Server 2008 database without issue. As long as you have the correct driver installed on the machine you can connect just about anything to SQL Server.
You could use the <a href=”http://msdn.microsoft.com/en-us/library/ms187928.aspx”>CONVERT</a> function to format dates (although it could be more efficient to do that on the front-end), and the ‘+’ operator to concatenate strings.
In ODBC data source System DSN Add new DSN Name = test Desc = test server = lksql Next user login id and password enterer by user check Connect to sql server to obtain default setting enter user name and pw next change the default database to: only has the default db the user is [...]
Yes a data driven subscription is what you want to use.
Typically large high transaction SQL Servers are not typically good candidates for virtualization. First when you virtualize a server you can’t assign as more cores to the VM as you currently have. The most cores you can assign are the number of cores on a single physical CPU. So if your VMware server has 4 [...]
Yes you can do this. No SQL 2008 wouldn’t fix this problem. The problem isn’t a problem with SQL Server, but a lack of 64bit Jet drivers. The Jet driver is the ODBC driver which you use to talk to the Access database. The Jet driver is only available in a 32bit driver at this [...]
What hardware and software are you using? ———– Yes, you can do that on MySql. Remember that aplying functions to fields in the where clause, prevents the database system from using indexes. -CarlosDL
Hi Sherry. Welcome back to ITKE. ISNUMERIC is a T-SQL function, and Oracle doesn’t have an equivalent. However, you can easily build your own. Something like this: <pre>CREATE OR REPLACE FUNCTION isnumeric(p_value IN VARCHAR) RETURN NUMBER IS l_value NUMBER; BEGIN l_value := p_value; RETURN 1; EXCEPTION WHEN value_error THEN RETURN 0; END; / </pre> After [...]
You’ll want to open up a binary stream and read that binary stream into a variable. Then take that variable and write the value into the table or stored procedure.
It depends on how you measure efficiency. For example the generated C code is not as fast as well crafted code. However the user response time difference is likely to be trivial. For developer efficiency, I can build, test and deploy 3 SQL stored procedures in a half hour while an RPG developer takes 2 [...]
Oh what a disappointment, there must be a lot more people curious about Foxpro than the AS/400. Phil What I feel is that if we start time limit in which a question can be answered, then we will have vastly reduced the effectiveness of this site.
Yes, you can. <pre>SELECT * FROM yourTable WHERE field1+field2 IN (’01XX’,’02YY’,’03ZZ’);</pre>
You’ll want something like this. <pre>select * from Employee join (select Department, avg(Salary) Salary FROM Employee group by Department) a on Employee.Department = a.Department and Employee.Salary > a.Salary</pre>
A job would be used to run a DTS package by calling dtexec.





