David Salter
Posts
-
SQL Query Required ! -
I need a faster internet connection !! -
get byte[] from a database -
Extended Procedures questionI've written an article about XPs (http://www.codeproject.com/database/extended_sp.asp[^]). You may find this helpful.
-
JOTD -
Enterprise mangerI've never seen it do that before. Is it a big table? Does it have the relevant indexes on it?
-
Extended Procedures questionAs far as TSQL is concerned, an XP is the same as a normal SP. If you can execute SPs using this method (I don't see why you can't), then you should be able to execute XPs also.
-
database directory bug? -
database directory bug?Its not a bug, the current working directory has been changed by the file open dialog so the current working directory is no longer that of your application hence you can't see the database. You need to give the full path to your database. You should be able to get the path of your exe, and then append the database name on to the end of it, so wherever you app is installed it will always work.
-
General network errorI've seen a similar thing when using Names Pipes if you don't have sufficient authentication to connect to the server. Are you using names pipes? If so, try changing to TCP/IP and see if the problem goes away. If it does, then its a security issue.
-
autoNumber and Max+1 which is BestIf you're ever going to have more than one user acces your database, then you have to use AutoNumber. Max+1 could potentially give problems if two people (or processes) inserted into the datbase at the same time.
-
‘Internet users are going to be flooded in spam.’I like Thunderbird, but I do find that it doesn't get rid of that much spam. In my case it probably gets rid of 70%. Is that good? I was expecting it to be higher.
-
Connecting to the remote Sqlserver instance. -
Connecting to the remote Sqlserver instance.If you have more than one instance, you need to specify the machine and instance name to connect. i.e. instead of connecting to "server_name", you would connect to "server_name\instance_name".
-
SQL transaction rollback and commit -
Picture Databases -
insert /retrieve text file into/from MySQLAlways read the data into a Byte[] rather than a Char[] and it will work for both binary and text files. You shouldn't really need to read it into a char[].
-
connecting to the data sourcepsvSource needs to be set to a DSN that you have registered in ODBC administrator. If you haven't specified one, that is probablky why you can't connect.
-
connecting to the data source -
insert /retrieve text file into/from MySQLI don't know why a FileStream wouldn't work for text data but would for binary. Can you post your code that doesn't work so we can have a look?
Affordable and reliable hosting? Click here!