Genesis 17:1
1 When Abram was ninety-nine years old, the Lord appeared to him and said, “I am the Sovereign God. Walk before me and be blameless. 2 Then I will confirm my covenant between me and you, and I will give you a multitude of descendants.” 3 Abram bowed down with his face to the ground, and God said to him,
Exodus 6:3
2 God spoke to Moses and said to him, “I am the Lord. 3 I appeared to Abraham, to Isaac, and to Jacob as God Almighty, but by my name ‘the Lord’ I was not known to them. 4 I also established my covenant with them to give them the land of Canaan, where they were living as resident foreigners.
Notes and References
"... This entire chapter is P, the Priestly version of the Abrahamic covenant. Those who misunderstand the matter of the name of God in the sources mistakenly think that the mention of God’s name, YHWH, in verse 1 is an exception to the hypothesis. On the contrary, this verse is precisely the point. The issue is not that the sources use different names for God. It is that the sources have different ideas of when God’s name was revealed to human beings. In J it is known from the early generations of human beings. In E and P it is not revealed until the generation of Moses. So in P God says to Moses, “I appeared to Abraham, to Isaac, and to Jacob as El Shadday, and I was not known to them by my name, YHWH” (Exodus 6:3). And, completely consistent with that, P says here that “YHWH appeared to Abram and said to him, ‘I am El Shadday.’” That is not an exception to the rule. That is the rule! ..."
Friedman, Richard Elliott The Bible with Sources Revealed: A New View Into the Five Books of Moses (p. 56) Harper San Francisco, 2005