Viewing 15 posts - 8,716 through 8,730 (of 13,469 total)
it's they way a default constraint works...i think you are misunderstanding it.
a default constraint DOES NOT replace nulls with the default value...it puts the default value in if the column...
September 20, 2010 at 2:24 am
is the length of the fields with preceding zeros all the same? for example are the 6 characters? '000008'?
you can change the column to a varchar, and then update...
September 20, 2010 at 2:12 am
not directly, no.
each column has to be referenced in the update statement, but you can use the schema tables to generate the SQL statement for you.
you were a little loose...
September 19, 2010 at 3:08 pm
here's another way to do the same thing: ColdCoffee thank you for the setup!:
DECLARE @PhoneNumbers TABLE
(
ID INT IDENTITY(1,1),
TEL1 BIGINT,
TEL2 BIGINT,
TEL3...
September 19, 2010 at 10:44 am
kumar.sachu08 (9/19/2010)
I hope microsoft will provide, any facility for the same in future.Sometime such cases come for DBA or developer. He don't want to share own database
Sachin
the technology already exists....
September 19, 2010 at 10:37 am
I know the feeling...you put a lot of hard work and time into designing the database objects, and you don't want anyone to look at them because they could infer...
September 19, 2010 at 7:07 am
another way is to connect via the Dedicated Administrative Connection (DAC)
a perfect example would be you removed builtin\administrators and then forgot the sa password...which was the only sysadmin on your...
September 19, 2010 at 6:58 am
I had a similar issue where a specific login i created for testing would show up first when i selected a server...so i'd have to change it over and over...
September 19, 2010 at 5:16 am
Jeff Moden (9/17/2010)
"Usually never get good answers on this forum but here it goes"
We're even then. We usually never get good questions on this forum, either. 😉
Yep asking...
September 17, 2010 at 12:20 pm
there's a an project on codeproject.com that has a decent example of how to bind a report to a dynamic dataset; by coincidence it's also in C# as well;
basically, it...
September 17, 2010 at 11:15 am
allin1 (9/17/2010)
September 17, 2010 at 11:05 am
whetehr you beleive it or not, it's returning more than one value:
if i put RMP.PeriodID =8 instead of PeriodID=8 Then it says an error that sub query returned more than...
September 17, 2010 at 11:01 am
SQL chooses the fastest way to access the data, and if no ORDER BY is used, returns it in that order;
So if there are no joins to other tables, then...
September 17, 2010 at 7:50 am
Richard it's fairly straightforward, but involves a combination of techniques.
if it's a file, you need to use bcp or bulk insert to get the text.
you need to use a split...
September 17, 2010 at 7:01 am
Viewing 15 posts - 8,716 through 8,730 (of 13,469 total)