Viewing 15 posts - 1,201 through 1,215 (of 1,315 total)
Use a T-SQL variable:
declare @r int
set @r = 5678
select * from reg where regis = @r
Or use a template script in Query Analyzer:
select * from reg
...
October 24, 2004 at 1:20 pm
DTS will not make up table names at random, it will put the data in the table you've designed it to use. (I know, you can use an ActiveX script...
October 22, 2004 at 8:41 am
SQL Server does not maintain individual creation dates for columns, just for the table.
October 21, 2004 at 5:42 pm
I assume you mean another filegroup? If there all multiple files in the same filegroup the table will be spread across all of them. To control filegroup placement you just...
October 21, 2004 at 4:50 pm
An index scan is not always bad. If you're retreiving a large fraction of the table, an index scan feeding into a merge join would be faster than a loop...
October 21, 2004 at 4:19 pm
Assuming you're content with keeping the table1 rows where there is a table2 duplicate, exclude the matching records from the second part of the union:
select * from table1
union
select * from table2 t2
where...
October 21, 2004 at 3:40 pm
Part of your question was "What is the difference?"
An exact numeric type (money, smallmoney, decimal, numeric) stores an exact representation of a decimal number by storing each digit separately.
An approximate...
October 21, 2004 at 1:39 pm
Why not just go ahead and do the update first, it will only affect existing records with matching PartNumberID.
Then insert the remaining records with something like this:
insert into table (...)
select tbl1.fld1, tbl1.fld2,...
October 19, 2004 at 8:59 am
Try this:
select
a,b,c,x01,y01,z01
October 19, 2004 at 7:06 am
There is an implicit conversion from int to char, and from char to int, but in the case of an integer - character comparison the string is converted to an...
October 19, 2004 at 6:24 am
You can configure everything from Enterprise Manager. It's pretty easy once you have some idea what you're doing. Reading more documentation before you begin will help.
Each branch office server will be...
October 15, 2004 at 8:45 am
Do models have any attributes other than name? Are identically-named models for different customers really the same thing? I can't tell from the requirements stated so far.
If one customer is...
October 14, 2004 at 3:34 pm
October 14, 2004 at 3:19 pm
I attached the label properties to views to allow the flexibility to include computed columns and other complex queries. If you wanted to get more creative you could use this...
October 14, 2004 at 2:22 pm
I forgot to mention that this uses extended properties tied to each view column, so different views can apply different labels to the same column name.
Also, the report procedure could...
October 14, 2004 at 8:49 am
Viewing 15 posts - 1,201 through 1,215 (of 1,315 total)