Viewing 15 posts - 12,346 through 12,360 (of 13,469 total)
Steve Jones - Editor (10/8/2007)
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 +...
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...
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...
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...
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...
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...
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 ...
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 ...
October 3, 2007 at 9:08 pm
you get a rows affected for every sql statement performed. that means select,update,insert or delete statements each return the rows affected.
sounds like you had either a cursor or loop that...
October 3, 2007 at 8:14 am
you cannot rename an instance, it has to be uninstalled and a new instance with the correct name needs to be created. that means backing up non-system databases, and then...
October 3, 2007 at 5:53 am
also, a DTS job is slower thant he time it takes to backup, copy and restore a database, as well as being prone to the changes you are seeing.
I'd recommend...
October 2, 2007 at 8:02 pm
the thing about color is that you MUST enter the double quotes to get it to work.
input = #0000FF is BAD
input = "#0000FF" is GOOD
October 2, 2007 at 7:51 pm
you are right....the actual permissions are stored inside the database, and not in any master table.
this is by design, so when you backup and resotre, the permissions for the objects...
October 2, 2007 at 11:41 am
it's handled automatically by the operating system;
you might have one nic that has an internal IP for your network, lets say 192.168.1.50
the other NIC might have an IP address on...
October 2, 2007 at 9:57 am
Viewing 15 posts - 12,346 through 12,360 (of 13,469 total)