Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

SQL Database organization/updates

$
0
0
SQL Database organization/updates
Web Connection 5.0
SQL Database organization/updates
Dec. 22, 2012
03:04 pm
3O90WAG93Show this entire thread in new window
Gratar Image based on email address
From:Michael Hogan (Ideate Hosting)
To:All
Up to now, I have been using a single SQL database for both the webconnect session logs AND my application data.

Unfortunately, this is creating problems as I try to re-create the session logs as their structure gets updated. The console will not update the structure if the tables already exist. I can delete the ww_tables and associated SQL objects - EXCEPT the UW_ZeroDefault default because it is also associated with some of my other tables (apparently it's associated with the upsizing wizard, which I used to migrate data from VFP to SQL).

The Console fails, complaining that UW_ZeroDefault already exists.

So... after several attempts at this, my app cannot write to the log file due to the fact that 'null values are not allowed' in several columns so I must have screwed up the sql table structures.

What is everyone else doing? Should I just manually update the wwRequestLog when the structure changes rather than just doing it from the Console? Should I use separate databases for data and logs so I can easily delete and re-create the session logs?

TIA
Happy Holly-Days!

Michael
www.WebConnectionHosting.com


Viewing all articles
Browse latest Browse all 10393

Trending Articles