Viewing 15 posts - 106 through 120 (of 285 total)
You can also do a 2-step: import the data into (var)char field, then use the REPLACE() function to strip out the commas while converting to your decimal field.
update imported
set decField...
December 8, 2002 at 6:20 pm
You can also do a 2-step: import the data into (var)char field, then use the REPLACE() function to strip out the commas while converting to your decimal field.
update imported
set decField...
December 8, 2002 at 6:18 pm
You might also considering storing this value as a denormalized column on your table. You can add a CHECK constraint to enforce your business rule. Since you're trying...
December 8, 2002 at 5:55 pm
If you use the decimal() data type and specify (for example) decimal(16,2), all your amounts will be stored in cents all the time. Round will occur in the calculations...
December 8, 2002 at 5:51 pm
Replying to me own post ;; tsks tsk
On indexes- keep in mind that they're data too. When you insert a row in a table, every index on that table...
December 8, 2002 at 5:47 pm
quote:
Hello evrbody,how can I increase max size of varchar type..
If this is a SQL server...
December 8, 2002 at 5:43 pm
quote:
Non-clustered indexes are "normal" indexes, you can have as many as you want.
Actually you can...
December 8, 2002 at 5:41 pm
Your link to your protected server keeps us from seeing your pretty picture.
December 8, 2002 at 5:39 pm
EM drops and recreates objects when you use it just to edit a view or proc. Once an object is created, use ALTER to change its contents and not...
December 8, 2002 at 5:37 pm
If you are wanting to create a view from the output of a stored procedure, I don't know of any way to do that. If you want to write...
December 8, 2002 at 5:34 pm
We have a couple of ways of dealing with this. You have to accept that this is "denormalized" data and provide a way to update it when your org heirarchy...
December 8, 2002 at 5:27 pm
If you want to keep track of what's been replicated, set up another data base on your same server as a replication subscriber. When replication completes, you will have...
December 8, 2002 at 5:19 pm
This is similar to what was already suggested but different enough to warrant posting:
Create a table-valued user-defined function that returns the keys for the table. This UDF takes the...
December 8, 2002 at 5:15 pm
I'd say the underwhelming response speaks volumes.
December 8, 2002 at 5:04 pm
way to obvious an answer. I wish I'd thought of it.
December 8, 2002 at 5:03 pm
Viewing 15 posts - 106 through 120 (of 285 total)