Search Results

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: kanaku ; Forum: MS SQL and child forums
Forum: MS SQL Jan 23rd, 2009
Replies: 4
Views: 1,431
Posted By kanaku
Probably because the dates stored in your actual database are just that. Dates. (ie January 4, 2008; December 16, 1908; etc)

The dashes(-) you see when you retrieve results (ie SELECT date FROM...
Forum: MS SQL Dec 30th, 2008
Replies: 10
Views: 1,056
Posted By kanaku
Hi again! Maybe you can try reading this: some-thread-on-sums (http://forums.devshed.com/ms-sql-development-95/how-to-query-from-two-tables-sum-up-field-values-562579.html).

Or this one @ daniweb...
Forum: MS SQL Dec 30th, 2008
Replies: 4
Views: 643
Posted By kanaku
oooh...

article on using triggers (http://www.devarticles.com/c/a/SQL-Server/Using-Triggers-In-MS-SQL-Server/).
Forum: MS SQL Dec 30th, 2008
Replies: 4
Views: 643
Posted By kanaku
Perhaps send an email to yourself when 1 row is updated after the adduser query?


... php code for query...

if @@rowcount > 0
... php code for mailing the admin
Forum: MS SQL Dec 30th, 2008
Replies: 10
Views: 1,056
Posted By kanaku
I think what you can do on your work_machine table is have references to the workid and machineid...

work_machineID | workID | machineID
1 | A | 1
2 ...
Forum: MS SQL Dec 29th, 2008
Replies: 7
Solved: Complex Query
Views: 839
Posted By kanaku
There is something called 'case expressions' in MS SQL queries...

This article is a bit outdated (http://www.craigsmullins.com/ssu_0899.htm) but it still makes a lot of sense. Jump to the "A more...
Forum: MS SQL Dec 29th, 2008
Replies: 7
Solved: Complex Query
Views: 839
Posted By kanaku
I was thinking you could do it by joining the table to itself. But then you have the problem of not knowing if the page you're looking up is in the 3rd or 4th level of 'childhood'.

Anyway, this is...
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC