Viewing 15 posts - 46 through 60 (of 268 total)
Yes, but the table must already exist..
So you have to create it prior to: insert <table> exec <proc>
/rockmoose
You must unlearn what You have learnt
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
You must unlearn what You have learnt
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...
You must unlearn what You have learnt
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...
You must unlearn what You have learnt
August 16, 2004 at 2:29 pm
Nice, thank You sqluser.
A source control system could probably accomplish the same thing.
/rockmoose
You must unlearn what You have learnt
August 16, 2004 at 8:35 am
What is the ONE business case you are thinking of ?
Curious.
/rockmoose
You must unlearn what You have learnt
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...
You must unlearn what You have learnt
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
You must unlearn what You have learnt
August 16, 2004 at 6:44 am
Take a look at this FAQ:
http://www.sqlteam.com/item.asp?ItemID=986
/rockmoose
You must unlearn what You have learnt
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...
You must unlearn what You have learnt
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...
You must unlearn what You have learnt
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...
You must unlearn what You have learnt
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...
You must unlearn what You have learnt
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...
You must unlearn what You have learnt
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...
You must unlearn what You have learnt
August 13, 2004 at 5:09 pm
Viewing 15 posts - 46 through 60 (of 268 total)