Viewing 15 posts - 3,541 through 3,555 (of 6,401 total)
Seriously go and redefine the design of the database.
Add A and C to T2 and then create a foreign key, or create some kind of identifier on T1 which is...
November 1, 2012 at 9:03 am
Is there already a PK on the table? Are the values of ColB unique or is there a requirement going forward which means that you can have the same...
November 1, 2012 at 8:41 am
Is the data in the database static or does it change? Also what is the turn around time from you providing the backup for the 3rd party to do...
November 1, 2012 at 8:39 am
No, if you want relationships they should be done via FK's, I would seriously go away and re-think the design on this one.
November 1, 2012 at 7:51 am
Either create a unique constraint on T1 ColB or add in ColA and ColC to T2
November 1, 2012 at 7:42 am
Why do you not want to use the built in SQL mail procedures?
One way would be to build a CLR proc which does the sending of the mail for you.
November 1, 2012 at 6:44 am
The problem is that this is RBAR as your only ever updating 1 row at a time instead of trying to update 566787 records in one set based operation, meaning...
November 1, 2012 at 4:39 am
depends on the query.
you will need to elaborate a lot further to get a more detailed answer, is it one particular query, what is the query doing, do you have...
November 1, 2012 at 3:40 am
Maximum key length for an index is 900 bytes, as ntext can store up to 2GB you cant index it
November 1, 2012 at 2:55 am
sys.dm_db_index_physical_stats is not an SP its a DMV and depending what DB_ID() you pass in for the first parameter it will look through that DB for index fragmentation.
Take a look...
November 1, 2012 at 2:49 am
The only way would be to change the column to NVARCHAR, collation changes may work but then you introduce a whole host of potential problems as certain characters will change...
October 31, 2012 at 5:57 am
All down to the code page and ASCII conversion.
select ASCII('š')
select ASCII('c')
The first returns ASCII code 154 which is the correct code for that character, but the latter returns ASCII code...
October 31, 2012 at 5:21 am
Viewing 15 posts - 3,541 through 3,555 (of 6,401 total)