Viewing 15 posts - 16 through 30 (of 46 total)
Thanks for all the help Jack, your syntax examples were useful, the only thing is I had to remove you're "END" statement to get it to run without an error,...
September 23, 2008 at 12:14 pm
No, no info is on the webpage, it is an anonymous posting of an event, the only thing the database does is keep track of the number of events posted....
September 23, 2008 at 11:44 am
In the second code example you have provided defaults for all the parameters except id, so you would only pass in the one parameter that is changing, and all the...
September 23, 2008 at 10:34 am
You have lost me there on passing all the column names into the procedure. How would you tell it which one to change and which ones to leave the same?
As...
September 23, 2008 at 9:36 am
Man, that was in fact the problem, no single quotes around the ID field value (varchar field) for the "where" clause.
Thanks for that, how ironic that there was nothing wrong...
September 23, 2008 at 8:29 am
OK thanks David, I found the post from earlier today
September 18, 2008 at 1:00 pm
I did not create the column, it came with the data.
I originaly thought that the count_ID (County ID) was unique, but it turns out that it was only unique...
September 18, 2008 at 6:59 am
Thank you Ninja,
I did in fact have to cast the state_ID in order to stop SQl Server from adding the two values together, but it worked. The other problem you...
September 18, 2008 at 6:30 am
I read somewhere that SQL Server can convert strings to numbers implicitly.
Using the "+" operator is there no danger that if the string values appear numeric, SQL Server will...
September 17, 2008 at 3:57 pm
Yes, thank you very much, that helped a lot.
September 17, 2008 at 2:52 pm
OK I did a work around, I created a new primary key in the cities table and then joined this to the base table (outer join), created a new table...
September 15, 2008 at 3:51 pm
[Quote]
I still don't see any code to replace the city name to cityid in the base table, nor indexing, nor foreign keys strategies in place
[/Quote]
Yes, this is now where...
September 15, 2008 at 3:22 pm
I think what I will actually do is keep that field as a string field and maybe just create a brand new primary key integer field, I have just realised...
September 15, 2008 at 8:59 am
Ok but will the B-tree structure be less efficient with string rather than numeric data types?
September 15, 2008 at 8:38 am
Viewing 15 posts - 16 through 30 (of 46 total)