Viewing 15 posts - 12,331 through 12,345 (of 13,460 total)
oops don't crosspost. they handy recent posts option allows everyone to monitor all the forums, no need to place the same question in multiple places.
follow the posts here:
http://www.sqlservercentral.com/Forums/Topic408910-338-1.aspx
Lowell
October 10, 2007 at 6:46 am
I don't know if this will help, but the big_int data type is 8 bytes in size, si it should be bign enough to hold the value; you probably already...
Lowell
October 10, 2007 at 6:43 am
if you could post the DDL for the table, and change the sample records to insert statements, we could help better; there's just no way to sort thru that copy...
Lowell
October 9, 2007 at 2:12 pm
in this case, you need to join the main table on itself.
in order to do that, you need to use at least one alias; here's an example based on your...
Lowell
October 9, 2007 at 2:01 pm
i don't envy you on the backup retore side of your job, but at the same time i do envy the extra large db features;
I'd love the opportunity to learn...
Lowell
October 9, 2007 at 1:00 pm
addankireddyprasad (10/8/2007)
Hi,If you are working on MS SQL SERVER 2000, You can update the master..sysservers table by enableing the sp_configure 'allow updates',1.
update master..sysservers set srvname='New name' ,Datasource='New name' where srvid=0
Regards,
Reddyprasad.A
MCITP
Bad...
Lowell
October 8, 2007 at 5:51 pm
Steve Jones - Editor (10/8/2007)
Lowell
October 8, 2007 at 5:41 pm
you could loop thru syscolumns and find all the varchars and such, and build a sql statement to run:
select 'UPDATE ' + object_name(id) + ' SET ' + name +...
Lowell
October 8, 2007 at 3:18 pm
depends on what you mean by empty...chances are , it already is null, but it depends on the data.
does empty mean an empty string?
SELECT * from sometable WHERE somecol=''
in...
Lowell
October 8, 2007 at 2:08 pm
you are correct, simply run the installation, but there is a caveat: Standard and Enterprise versions can only be installed on Server Version of operating systems...Win 2000 Server, Windows 2003.
If...
Lowell
October 8, 2007 at 1:26 pm
can you post the trigger you are using for SQL2005? Also, could it be that you changed the trigger to After insert or something on 2005, when it was...
Lowell
October 8, 2007 at 9:18 am
char 13 is a Carriage Return (vbCr) also known as
char 10 is a Line Feed (vbLf) also known as \r (i think)
in most PC based files, you'll find vbCrLf...
Lowell
October 8, 2007 at 6:44 am
much more likely to be a DNS issue i would think; since it appears to happen once in a while, and not 100% of the time, I'd venture the guess...
Lowell
October 4, 2007 at 1:23 pm
the trick is to group by portions of the account number.
this produces the results you were looking for:
CREATE TABLE #Accounts (AccountNumber varchar(30), ParentAccountNumber varchar(30) )
insert into #Accounts(AccountNumber ,ParentAccountNumber)
SELECT '100-000-000',NULL ...
Lowell
October 3, 2007 at 9:37 pm
you could convert to int, which would be the number of days since the beginning of time(according to sql server that's 1900-01-01 00:00:00.000)
SELECT getdate(),CONVERT(int, GETDATE())
2007-10-03 23:07:05.640 ...
Lowell
October 3, 2007 at 9:08 pm
Viewing 15 posts - 12,331 through 12,345 (of 13,460 total)