Viewing 15 posts - 46 through 60 (of 267 total)
Yes, but the table must already exist..
So you have to create it prior to: insert <table> exec <proc>
/rockmoose
August 18, 2004 at 6:04 am
Yes,
Insert [#][#]Table Exec Proc
BUT, the table must already exist and have the same structure as the output of the Proc.
/rockmoose
August 18, 2004 at 5:52 am
" But my question is , is there any possbility by TSQL code to alter the
table with "Identity" property."
You can only add a new column with the identity property to...
August 18, 2004 at 5:49 am
Fellow posters,
First I can state that I am for stored procedures.
You can percieve of the database as "only" a storage media for your data, and let the client application handle...
August 16, 2004 at 2:29 pm
Nice, thank You sqluser.
A source control system could probably accomplish the same thing.
/rockmoose
August 16, 2004 at 8:35 am
What is the ONE business case you are thinking of ?
Curious.
/rockmoose
August 16, 2004 at 7:57 am
There is an example in BOL. see: "expanding hierarchies".
There are other 'better' ways of doing this, submit some test data and an example of what you want your result to...
August 16, 2004 at 6:50 am
3) Yes, it is possible to achieve duplicate values in an identity column.
But not if the identity column is a primary key or has an unique index defined on it.
/rockmoose
August 16, 2004 at 6:44 am
August 15, 2004 at 6:13 am
You might consider creating a permanent table
create table final(a float, b smalldatetime)
and keep this current whenever the data changes.
This way the underlying proc would not need to recreate the temporary...
August 14, 2004 at 3:45 am
Hi,
Do You have appropriate indexes on the table ?.
And what is the Primary key on the table ? - ( is job_loc + client the pk ? )
From the query...
August 14, 2004 at 3:33 am
Yes you are right, the code uses a couple of unusable standard date functions.
Just came home from vacation and the brain maybe is still on vacation 🙂
Here is an interesting...
August 14, 2004 at 3:22 am
From performance reasons you want to have indexes on the table.
( but probably not 84 or 124!, which columns are searched )
Why 1 big table ?
How do You present the...
August 13, 2004 at 6:30 pm
Ok, forgot to add..
For performing datediff comparisons and such ( day level ) you just have to substract the id between 2 dates in the sample table.
You could add constraints...
August 13, 2004 at 5:13 pm
My suggestion is to create a separate table to hold the sequence of dates you are interested in.
All tables that contain calender information will then reference this table on the...
August 13, 2004 at 5:09 pm
Viewing 15 posts - 46 through 60 (of 267 total)