Thank you for visiting ITKE. We are happy to help you with solving specific IT questions, but need as much information as possible to do so. Let us know about the problem you are trying to solve, how you are approaching it and what work you’ve done so far, and we can help guide you [...]
This site appears to give a good example on how to use VB6 with SQL Server. http://www.codeproject.com/KB/vbscript/simple_sp_vb6.aspx Yep – VB6 is an ideal language to do that (if a little dated). Can you expand on what you want to do?
No any number of users can connect to the SQL Server. Each user that needs to be able to connect to the SQL Server will need to have a SQL Server CAL.
SQL Server 2005 and up don’t really license this way any more. The server doesn’t really care how many CALs you purchase as long as you are legal.
Hi, Oracle SQL syntax, like most, requires a wild card to accurately use a LIKE % is a wild card that means zero or more characters _ is a wild card that means one (and only one) character col1 LIKE ‘ABC%’ would search col1 looking for values that start with ABC, whether anything follows or [...]
You’ll want to create a roll, and give the role access to the views. Then make the users members of the role.
you can used robocopy or teracopy http://www.codesector.com/teracopy.php http://technet.microsoft.com/en-us/magazine/2009.04.utilityspotlight.aspx —————————————- xcopy and drag and drop are basically the same thing. You can do either. By the way do you mean iSeries?
Use some kind of Virtualuzation. Vmware server or Workstation.
First, everything is in some kind of “transaction”. When you do a “Begin Transaction”, you are stating that everything up to the next “Commit” (or Rollback) is to be considered as a single transaction. If you execute a SQL statement when there is no “Begin Transaction” active, that single statement is itself a transaction. From [...]
I think I forgot to mention that I am trying to create a crystal report which pulls from three different views that I created in SQL Server. Little hard to do when I can not access the views from crystal reports/database expert.
Your database is in the process of checking the database before bringing it online. There’s no way to stop it. It’s going through the log committing completed transactions and rolling back aborted transactions. You should NEVER detach the database and delete the log file. If you don’t need point in time restores then change the [...]
You could use this code. This use ODBC to connect to an Oracle database and copies the entire recordset into the worksheet. Dim db as database Dim rs as recordset Dim SQLSt as string Set db = OpenDatabase(“ODBCDSNName”, False, False, “ODBC;DSN=ODBCDSNName;ConnectString=OracleHostName;UID=OracleUserName;PWD=OraclePassword”) sqlSt = “SELECT col1, col2, … FROM Table1 WHERE Col1 = ‘” & SomeVariable [...]
You could try using the in line view like this: Select table1.col1, table1.col2, table1…., table2.col1, table2.col2, table2…. from (SELECT * FROM dbo.Shaft_Scales WHERE dbo.Shaft_Scales.ID = (SELECT max(ID) from dbo.Shaft_Scales ID) as table1, (SELECT * FROM OtherTable WHERE dbo.OtherTable.ID = (SELECT max(ID) from dbo.OtherTable ID) as table2 —————- another approach from meandyou This works on [at [...]
You can download the free tool <b>SqlTrayManager </b>from this site <a href=”http://freesqltools.info/”>http://freesqltools.info/</a> It allows you to manage local and remote SQL servers , works with all versions of SQL server . Around 200k in size , requires .NET framework 2.0 though . I am using it my self on all servers .
Is this an SQL error that you get or an error generated by your programs? Phil ========================================================================== You could use DSPATR(ND) to “hide” the value when you don’t want it displayed. Phil =========================================================================
The SQL Server Management Studio should have been installed with SQL 2005. You can use that to manage your database. If it wasn’t installed (it’ll be listed in the Start > Programs > Microsoft SQL Server 2005 program group). If it isn’t there launch the SQL Server installer again and run through the installer. When [...]
One of the text or binary fields in the table is smaller than the value you are trying to put into it. You need to limit the size of the value or increase the size of the field.
You have to use the base_object_name column to figure it out. This code should do the trick. <pre>select *, object_name(object_id(substring(base_object_name, charindex(‘.’, base_object_name)+1, len(base_object_name)))) from sys.synonyms</pre> You can now use sys.objects to get the base object type. Something like this: <pre>SELECT o.name,o.type_desc FROM sys.objects o JOIN sys.synonyms s ON object_name(object_id(substring(s.base_object_name, charindex(‘.’, s.base_object_name)+1, len(s.base_object_name)))) = o.name WHERE [...]
This makes sense as Access sees the tables as seperate objects so it will do the join within Access instead of in the SQL Server. The only way to handle this with a view would be to set it up so that each update only touched a single base table at a time. You could [...]
The domain name change is totally separate from the other upgrades. After the domain has been renamed the SQL Servers will need to be rebooted. Nothing else should need to be done after this. You can optionally change the names of the Logins and users to match the new domain name. You don’t have to [...]





