Viewing 15 posts - 151 through 165 (of 2,037 total)
Hi
I have to ask this: What are you trying to do?
Data should be stored top down, not left to right 😀
Greets
Flo
November 14, 2009 at 1:52 pm
Hi
I'm a C# and I have no problem with VB.NET. I just don't understand why features like "Option Explicit Off" or "On Error Resume Next" are still supported. I've started...
November 14, 2009 at 1:44 pm
Hi
First, to pay my bill for entering this thread 😀
SELECT
CONVERT(CHAR(6), DATEADD(MONTH, -1, CONVERT(DATETIME, @yyyymm + '01', 112)), 112)
,CONVERT(CHAR(6), DATEADD(MONTH, 1, CONVERT(DATETIME, @yyyymm + '01',...
November 14, 2009 at 1:35 pm
Hi Joe
Joe Celko (11/14/2009)
A professional always writes to Standards so the code will port to other SQLs and to the future releases of the same SQL product.
In my opinion, that's...
November 14, 2009 at 1:26 pm
@Gunjan: Sorry, I've no answer to your post.
@becklery: SSC is a forum, not a place to do your commercials...
Greets
Flo
November 14, 2009 at 9:54 am
Hi
What you have to do is to define the new tables and add the columns to your trucks table. The data migration can be done automatically.
Here is a little sample...
November 13, 2009 at 1:13 pm
Hi
This table appears to reflect a whole database. I have no real clue about your business and trucks 😛 but there are some tables I see:
* Companies: Id, Name
* Makes:...
November 13, 2009 at 10:22 am
GSquared (11/13/2009)
void ValidateColumn(object sender, DataColumnChangeEventArgs e){if(e.Column.Equals(this.UnitPriceColumn))
{if(!Convert.IsDBNull(e.ProposedValue) &&
(decimal)e.ProposedValue < 0)
{throw new ArgumentException(
"UnitPrice cannot be less than zero", "UnitPrice");}}
else if (e.Column.Equals(this.UnitsInStockColumn) ||
e.Column.Equals(this.UnitsOnOrderColumn) ||
e.Column.Equals(this.ReorderLevelColumn))
{if (!Convert.IsDBNull(e.ProposedValue) &&
(short)e.ProposedValue < 0)
{throw new ArgumentException(string.Format(
"{0} cannot be less...
November 13, 2009 at 10:11 am
Hi
TheSQLGuru (11/13/2009)
... if you intend to have any scale to systems you develop with ANY ORM. You WILL be needing ... performance tuning services. 😎
Sorry, but I...
November 13, 2009 at 10:00 am
Generally there is no functional difference between C# and VB.NET. Everything you can do in one language can be done in the other, too.
I've started with VB5/VB6 but now I'm...
November 12, 2009 at 9:03 pm
I completely confirm Jeff! Some random values are really important to ensure some fine tests.
I prefer this method:
😀
November 12, 2009 at 8:43 pm
Hi
Lamprey13 (11/12/2009)
I'll have to go...
November 12, 2009 at 3:36 pm
Hi
To ensure a correct execution plan you should split your procedure into two different procedures. One which works with @location_id and one which doesn't. You can use your entry procedure...
November 11, 2009 at 3:01 pm
Hi
If you always query data equal to all three columns you can add a computed column as BINARY_CHECKSUM over all three columns. Put an index only on this column and...
November 11, 2009 at 1:13 pm
chinn (11/11/2009)
UPDATE tbl1SET tbl1.col1 = db2.dbo.tbl2.col1 ,
[tbl1].[col2] = db2.dbo.tbl2.col2
FROM tbl1, tbl2
where tbl1.col3 =db2.dbo.tbl2.col3
and tbl1.col4 = db2.dbo.tbl2.col4
Your statement looks a bit strange to me. You...
November 11, 2009 at 12:54 pm
Viewing 15 posts - 151 through 165 (of 2,037 total)