Viewing 15 posts - 4,636 through 4,650 (of 7,496 total)
Did you test the exact example code I posted ?
Can you post the results of this query ?
select count(*) as newcol_NULL_count
from yourtable
where newcol is null ;
August 26, 2008 at 6:46 am
Inspect your data !
Your example works perfect as shown next.
create table #mytb1 (col1 nvarchar(50) not null);
insert into #mytb1
Select '500910000000000000'
union all Select '500903000000000000'
union all Select '500909000000000000'
union all Select '500903000000000000'
union all...
August 26, 2008 at 1:52 am
nvarchar to bigint requires your nvarchar content to be convertable to numbers !
check your nvarchar columns content for non numeric content or special characters, ...
August 25, 2008 at 11:52 pm
- Did you design your unit of work for each operation ?
- try to keep your transactions aligned to a single unit of work and commit or rollback as soon...
August 25, 2008 at 7:59 am
bodhilove (8/24/2008)
hi guys,If you have multiple databases on an instance that you want mirrored do you need to have separate endpoint for each one?
No. They use the a single...
August 25, 2008 at 7:56 am
Maxer (8/22/2008)
Rights to view all data tables for reporting purposes.
So they can't change anything, but they sure as heck could open up Access or Excel or whatever,...
August 22, 2008 at 11:27 am
hengert (8/20/2008)
I want to add two columns, VARCHAR and DATETIME, to an existing table with data, that are NOT NULL columns.
ALTER TABLE ADDRESS
ADD DATE_LAST_UPDATED DATETIME DEFAULT ??? NOT NULL,
USER_LAST_UPDATED VARCHAR(8)...
August 22, 2008 at 11:16 am
"hard coded with week password ... " sounds familiar :sick:
Most of the time, the installers just don't know it is stored in an ini-file or a reg.key.
Search "program files" and...
August 22, 2008 at 8:19 am
You can still go multiple instance, but in that case, you may want to have a look at Windows System Resource Manager (WSRM) to avoid one instance starving you server.
For...
August 22, 2008 at 5:53 am
I just came across this post which might put some light in the darkness...
August 21, 2008 at 3:18 pm
just my 2 ct.
I've read somewhere (cannot recall where, but I guess it was in one of Jeff Modens replies) that sqlserver may also experience problems when using between with...
August 21, 2008 at 8:18 am
- apparentley you are using SSMS to try to restore the dbs.
It will use the connected instances service account authority to query the backup locations.
With sql2005 that access is restricted...
August 21, 2008 at 8:08 am
juanfcoy (8/21/2008)
...Although, a tool I have been using to read/query SQL Logs and all other relevant OS logs is Microsoft's Log Parser 2.x. ....
Indeed, but some people prefer using...
August 21, 2008 at 8:04 am
- another reason why it is not a good idea to apply changes without proper inventory and preparation.
You can off course aways generate and execute the sp_refreshview yourself ...
e.g.
Declare @ColName...
August 21, 2008 at 5:25 am
the last step of your backup jobs are performing xcopy dos commands to the appropriate safezone.
Because a logbackup may get started while a full backup job is running, that might...
August 21, 2008 at 5:19 am
Viewing 15 posts - 4,636 through 4,650 (of 7,496 total)