8,966 Posted Topics
I want to have the following on SQL Azure: IF EXISTS(SELECT * FROM [sys].[databases] WHERE [name] = db_name() AND [compatibility_level] = 110) BEGIN ALTER PROCEDURE [dbo].[Test] AS BEGIN -- Omitted body containing lots of strings END END or a work-around that does something similar. What follows is what I'm trying … | |
Re: You'll need some scsripting to do this. I don't think it's possible with plain HTML. | |
Re: Showing your code would be more helpful than just the output. | |
![]() | Re: > WHERE users id = '$id' Do you really have a space between users and id in your column name? ![]() |
Re: You should echo your variable in between the textarea tags, like this: <textarea name="Catatan" type="text" id="Catatan" cols="45" rows="17"><?php echo $Catatan;?></textarea> | |
Re: I think the problem is with `returning into`. Isn't this an Oracle specific construct? Anyway, I am not convinced that you can bind a return value. ![]() | |
Re: Gravatar is pretty old (pre-dating Fb). If you open their url with your email md5'ed then you get the image belonging to that address. | |
Re: This works just fine. You can probably also use something like this: Result := num and (127 shr (bit_location - 1)); | |
Re: No, you are mixing Javascript and PHP, not possible. I think you misunderstand what URL encoding is. You can encrypt parts of an URL, but not the complete one. It's better if you explain WHY you want to do this. | |
Re: Perhaps you can compare with [this solved thread](http://www.daniweb.com/web-development/php/threads/362877/php-mail-attachment-blank), see what's different. | |
Re: If you want a cyclic order, then you will have to store the last used employee id in a configuration table somewhere, so you can use it to determine the next one to use. | |
Re: http://php.net/json_encode | |
![]() | ![]() |
Re: I suggest you contact Adobe support or sales. | |
Re: I don't think it can be done in it's current form. The input text will never change inside any loop, so it will be endless. Please explain what you are trying to achieve. (or perhaps some more code) | |
Re: `index` is never given a value. I think you should be using a `for` loop to loop through each character entered. | |
Re: What's the code you are using. An AJAX call returns a status you can use. | |
Re: The query is off. What are you trying to achieve? | |
Re: If you are using .NET4 have a look at the [parallel for loop](http://weblogs.asp.net/jalpeshpvadgama/archive/2011/07/12/parallel-for-loop-in-c-4-0.aspx). You can give that a try. It's a simple way of using threads. | |
| |
Re: > I just can't see the attraction in those lightweights Agree. All those taste like water. | |
Re: A placeholder can be replaced with content at run-time. It just marks the position. | |
Re: Why don't you just alert the userAgent and find out. | |
Re: I haven't automated this before, but I know you can use the `BULK INSERT` query on a CSV file. From SQL Server Management Studio you can import Excel directly: http://www.wiseowl.co.uk/blog/s231/schedule_data_import_in_sql_server_pt1.htm | |
Re: What code do you use, and what error do you get? | |
Re: Instead of building the JSON response with echo and string concatenation, I suggest building an array and using `json_encode()` on it. | |
Re: Check the user table, you'll see. If they are flagged they should be there, if not, tough luck. | |
Re: You can use something like: SELECT * FROM Customers WHERE DATEDIFF(NOW(), nservice) > 0 More functions in the [manual](https://dev.mysql.com/doc/refman/5.6/en/date-and-time-functions.html). | |
Re: > Cannot redeclare class Facebook You cannot redeclare an existing class. | |
Re: From first glance it's for Python only. See [some comparisons](http://vschart.com/compare/zope-object-database/vs/mysql). | |
Re: What exception? Invalid XML? | |
Re: The syntax is this (if the tables are identical): INSERT INTO Produk SELECT * FROM stock | |
| |
Re: > www.w3school.com If you go there, be sure to read this too: http://w3fools.com/ | |
Re: You can try `$_SERVER['REMOTE_ADDR']` but it may not be accurate. | |
Re: > gethostname() try to echo and it will display your computer name This will give you the name of the server, not the connected client. From the manual: *"gethostname() gets the standard host name for the **local** machine."* | |
![]() | Re: > BitDefender is the highest rated AV (AntiVirus) out there, but I still haven't had opportunity to try it I've used BitDefender for 10+ years and I'm very satisfied with it. |
Re: You can use `mysqldump` to create an sql script file, which you can then execute on the server. | |
Re: Depending on what you want to build, my [code snippet](http://www.daniweb.com/web-development/php/code/430455/configurable-table-class) may get you some ideas. ![]() | |
Re: Are you sure your file's encoding is in UTF8 too? |
The End.